aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/bounds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/bounds.c b/kernel/bounds.c
index 0c9b86229..c0f056950 100644
--- a/kernel/bounds.c
+++ b/kernel/bounds.c
@@ -11,11 +11,13 @@
#include <linux/kbuild.h>
#include <linux/page_cgroup.h>
-void foo(void)
+int main(void)
{
/* The enum constants to put into include/generated/bounds.h */
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
DEFINE(NR_PCG_FLAGS, __NR_PCG_FLAGS);
/* End of constants */
+
+ return 0;
}