[parisc-linux] spinlock 2.4 re-organise a la 2.6 [was: [RFC] rewrite kernel spinlock code to work better with gcc]

Grant Grundler grundler@parisc-linux.org
Sat, 29 Nov 2003 20:37:05 -0700


On Sun, Nov 30, 2003 at 12:43:51AM +0000, Joel Soete wrote:
...
> +++ linux-2.4.23-rc5-pa17-bp/include/asm-parisc/atomic.h	2003-11-30 01:23:57.000000000 +0100
> @@ -1,7 +1,6 @@
>  #ifndef _ASM_PARISC_ATOMIC_H_
>  #define _ASM_PARISC_ATOMIC_H_
>  
> -#include <linux/config.h>
>  #include <asm/system.h>

Joel,
This is wrong - atomic.h uses CONFIG_SMP and thus is
required to include config.h.

grant