[patch] mm: break circular include from linux/mmzone.h fix fix fixfix

From: David Rientjes
Date: Wed Feb 06 2013 - 13:15:16 EST


kernel/jump_label.c: In function âjump_label_module_notifyâ:
kernel/jump_label.c:393:2: error: implicit declaration of function ânotifier_from_errnoâ [-Werror=implicit-function-declaration]
kernel/jump_label.c: At top level:
kernel/jump_label.c:396:8: error: variable âjump_label_module_nbâ has initializer but incomplete type
kernel/jump_label.c:397:2: error: unknown field ânotifier_callâ specified in initializer
kernel/jump_label.c:397:2: warning: excess elements in struct initializer [enabled by default]
kernel/jump_label.c:397:2: warning: (near initialization for âjump_label_module_nbâ) [enabled by default]
kernel/jump_label.c:398:2: error: unknown field âpriorityâ specified in initializer
kernel/jump_label.c:398:2: warning: excess elements in struct initializer [enabled by default]
kernel/jump_label.c:398:2: warning: (near initialization for âjump_label_module_nbâ) [enabled by default]

Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
---
kernel/jump_label.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 60f48fa..012219d 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -13,6 +13,7 @@
#include <linux/sort.h>
#include <linux/err.h>
#include <linux/static_key.h>
+#include <linux/notifier.h>

#ifdef HAVE_JUMP_LABEL