2002-04-22 23:45:34

by Brian Gerst

[permalink] [raw]
Subject: [PATCH] setup_per_cpu still broken in 2.5.9

diff -urN linux-2.5.9/init/main.c linux/init/main.c
--- linux-2.5.9/init/main.c Mon Apr 22 19:17:23 2002
+++ linux/init/main.c Mon Apr 22 19:31:04 2002
@@ -271,14 +271,7 @@
#else
#define smp_init() do { } while (0)
#endif
-static inline void setup_per_cpu_areas(void)
-{
-}
-
-static inline void setup_per_cpu_areas(void)
-{
-}
-
+static inline void setup_per_cpu_areas(void) { }
#else

#ifdef __GENERIC_PER_CPU


Attachments:
percpu-1 (418.00 B)

2002-04-23 01:20:04

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH] setup_per_cpu still broken in 2.5.9



On Mon, 22 Apr 2002, Brian Gerst wrote:
>
> Still broken for UP. It looks like a patch got applied twice.

Duh.

I _tested_ the damn thing worked, but obviously in between testing and
making a real 2.5.9 another patch did the fix again.

Thanks,

Linus