login
Header Space

 
 

Re: [patch 13/37] Immediate Values - Architecture Independent Code

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: <akpm@...>, <linux-kernel@...>, Jason Baron <jbaron@...>, Rusty Russell <rusty@...>, Adrian Bunk <bunk@...>, Andi Kleen <andi@...>, Christoph Hellwig <hch@...>, <akpm@...>
Date: Saturday, April 26, 2008 - 5:36 am

* Ingo Molnar <mingo@elte.hu> wrote:


found another build failure - the better fix is the one below.

	Ingo

------------------------->
Subject: markers: fix2
From: Ingo Molnar <mingo@elte.hu>
Date: Sat Apr 26 11:19:00 CEST 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 include/linux/module.h |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Index: linux/include/linux/module.h
===================================================================
--- linux.orig/include/linux/module.h
+++ linux/include/linux/module.h
@@ -472,9 +472,6 @@ extern void print_modules(void);
 
 extern void module_update_markers(void);
 
-extern void _module_imv_update(void);
-extern void module_imv_update(void);
-
 #else /* !CONFIG_MODULES... */
 #define EXPORT_SYMBOL(sym)
 #define EXPORT_SYMBOL_GPL(sym)
@@ -579,15 +576,19 @@ static inline void module_update_markers
 {
 }
 
+#endif /* CONFIG_MODULES */
+
+#if defined(MODULES) && defined(CONFIG_IMMEDIATE)
+extern void _module_imv_update(void);
+extern void module_imv_update(void);
+#else
 static inline void _module_imv_update(void)
 {
 }
-
 static inline void module_imv_update(void)
 {
 }
-
-#endif /* CONFIG_MODULES */
+#endif
 
 struct device_driver;
 #ifdef CONFIG_SYSFS
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 13/37] Immediate Values - Architecture Independent Code, Mathieu Desnoyers, (Thu Apr 24, 11:03 am)
Re: [patch 13/37] Immediate Values - Architecture Independen..., Ingo Molnar, (Sat Apr 26, 5:36 am)
Re: [patch 13/37] Immediate Values - Architecture Independen..., Mathieu Desnoyers, (Sat Apr 26, 10:17 am)
speck-geostationary