add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h
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
@@ -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_ */
Ingo Molnar
AppliedQuoted 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_SYMBOLin the asm-x86_64.Here's the patch:
thanks, applied.
Ingo