mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.9 per-cpu-areas ONCE AND FOR ALL
@ 2002-04-23  2:02 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-04-23  2:02 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

This is the correct patch.  Do NOT apply any lesser imitations!

Thanks,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.9/init/main.c working-2.5.9-percpu/init/main.c
--- linux-2.5.9/init/main.c	Tue Apr 23 11:39:40 2002
+++ working-2.5.9-percpu/init/main.c	Tue Apr 23 12:00:14 2002
@@ -274,12 +274,7 @@
 static inline void setup_per_cpu_areas(void)
 {
 }
-
-static inline void setup_per_cpu_areas(void)
-{
-}
-
-#else
+#else /* CONFIG_SMP... */
 
 #ifdef __GENERIC_PER_CPU
 unsigned long __per_cpu_offset[NR_CPUS];
@@ -315,7 +310,7 @@
 	smp_commence();
 }
 
-#endif
+#endif /* CONFIG_SMP */
 
 /*
  * We need to finalize in a non-__init function or else race conditions

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

only message in thread, other threads:[~2002-04-23  1:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23  2:02 [PATCH] 2.5.9 per-cpu-areas ONCE AND FOR ALL Rusty Russell

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®