[patch -rt] add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h

From: Steven Rostedt
Date: Thu Nov 17 2005 - 09:05:48 EST


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

Index: linux-2.6.14-rt13/include/asm-x86_64/percpu.h
===================================================================
--- linux-2.6.14-rt13.orig/include/asm-x86_64/percpu.h 2005-11-15 11:12:37.000000000 -0500
+++ linux-2.6.14-rt13/include/asm-x86_64/percpu.h 2005-11-17 08:53:47.000000000 -0500
@@ -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_ */


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/