|
@@ -33,7 +33,9 @@
|
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
-#include <linux/module.h>
|
|
|
+#include <linux/errno.h>
|
|
|
+#include <linux/mm_types.h>
|
|
|
+#include <linux/init.h>
|
|
|
#include <linux/capability.h>
|
|
|
|
|
|
#include <xen/xen.h>
|
|
@@ -109,14 +111,6 @@ static int __init balloon_init(void)
|
|
|
}
|
|
|
subsys_initcall(balloon_init);
|
|
|
|
|
|
-static void balloon_exit(void)
|
|
|
-{
|
|
|
- /* XXX - release balloon here */
|
|
|
- return;
|
|
|
-}
|
|
|
-
|
|
|
-module_exit(balloon_exit);
|
|
|
-
|
|
|
#define BALLOON_SHOW(name, format, args...) \
|
|
|
static ssize_t show_##name(struct device *dev, \
|
|
|
struct device_attribute *attr, \
|
|
@@ -250,5 +244,3 @@ static int register_balloon(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-
|
|
|
-MODULE_LICENSE("GPL");
|