[PATCH] 2.5.9 per-cpu-areas ONCE AND FOR ALL

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Apr 22 2002 - 21:02:13 EST


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



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:34 EST