Re: janitor patch for 2.4.20-ia64

Keith Owens
2003-08-05T02:43:05Z

On Tue, 5 Aug 2003 12:08:07 +1000,
Martin Pool <mbp@samba.org> wrote:
>This small patch relative to linux-2.4.20-ia64-021210.diff seems to be
>necessary to match the declarations in include/linux/smp.h and
>arch/ia64/kernel/smpboot.c to satisfy gcc 3.2.3:
>
>--- include/linux/smp.h.~1~ 2003-08-01 16:47:04.000000000 +1000
>+++ include/linux/smp.h 2003-08-01 17:03:30.000000000 +1000
>@@ -48,7 +48,7 @@ extern int smp_call_function (void (*fun
> /*
> * True once the per process idle is forked
> */
>-extern int smp_threads_ready;
>+extern volatile int smp_threads_ready;
>
> extern int smp_num_cpus;

arch/ia64/kernel/smpboot.c is wrong, it should not define volatile. It
has been removed in 2.4.21 ia64.