[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1302061013160.26828@chino.kir.corp.google.com>
Date: Wed, 6 Feb 2013 10:15:07 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: liguang <lig.fnst@...fujitsu.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [patch] mm: break circular include from linux/mmzone.h fix fix fix
fix
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@...gle.com>
---
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
Powered by blists - more mailing lists