mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch -rt] add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h
@ 2005-11-17 14:05 Steven Rostedt
  2005-11-24 15:02 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2005-11-17 14:05 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: LKML

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_ */



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-24 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-17 14:05 [patch -rt] add EXPORT_PER_CPU_LOCKED_SYMBOL to asm-x86_64/percpu.h Steven Rostedt
2005-11-24 15:02 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®