Skip to contentSkip to conversation

add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h

PATCH Applied Steven Rostedt 2 participants 2 messages Nov 17, 2005 – Nov 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h

Hi Ingo,

I was getting some module dependency problems until I found that the source of these problems was that there was no EXPORT_PER_CPU_LOCKED_SYMBOL in the asm-x86_64.

Here's the patch:

-- Steve

include/asm-x86_64/percpu.h +2 -0
Index: linux-2.6.14-rt13/include/asm-x86_64/percpu.h
===================================================================
@@ -70,5 +70,7 @@
 
 #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var)
 #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(per_cpu__##var)
+#define EXPORT_PER_CPU_LOCKED_SYMBOL(var) EXPORT_SYMBOL(per_cpu_lock__##var##_locked); EXPORT_SYMBOL(per_cpu__##var##_locked)
+#define EXPORT_PER_CPU_LOCKED_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(per_cpu_lock__##var##_locked); EXPORT_SYMBOL_GPL(per_cpu__##var##_locked)
 
 #endif /* _ASM_X8664_PERCPU_H_ */
Applied
#1 lore raw
Quoted 7 lines · Steven Rostedt

Hi Ingo,

I was getting some module dependency problems until I found that the source of these problems was that there was no EXPORT_PER_CPU_LOCKED_SYMBOL in the asm-x86_64.

Here's the patch:

thanks, applied.

Ingo