linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][2.5.74] fix x86_64 breakage on UP with modules
@ 2003-07-03 16:11 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2003-07-03 16:11 UTC (permalink / raw)
  To: ak; +Cc: linux-kernel

Andi,

2.5.74 added EXPORT_SYMBOL for two TLB flushing procedures.
These aren't real procedures on UP, so the EXPORT_SYMBOLs must
be under #ifdef CONFIG_SMP, just like they are on i386. The
patch below fixes this. Please apply.

Without this patch you get a compile error on x86_64 if you've
configured for UP with modules.

/Mikael

--- linux-2.5.74/arch/x86_64/kernel/x8664_ksyms.c.~1~	2003-07-03 12:32:44.000000000 +0200
+++ linux-2.5.74/arch/x86_64/kernel/x8664_ksyms.c	2003-07-03 17:24:00.422977104 +0200
@@ -121,6 +121,9 @@
 
 EXPORT_SYMBOL(synchronize_irq);
 EXPORT_SYMBOL(smp_call_function);
+
+EXPORT_SYMBOL(flush_tlb_page);
+EXPORT_SYMBOL_GPL(flush_tlb_all);
 #endif
 
 #ifdef CONFIG_VT
@@ -213,6 +216,3 @@
 #endif
 
 EXPORT_SYMBOL(clear_page);
-
-EXPORT_SYMBOL(flush_tlb_page);
-EXPORT_SYMBOL_GPL(flush_tlb_all);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-03 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 16:11 [PATCH][2.5.74] fix x86_64 breakage on UP with modules Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).