janitor patch for 2.4.20-ia64
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:
linux/smp.h renamed from linux/smp.h.~1~ +1 -1
@@ -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;
Signature · 1 line
Martin
Quoted 7 lines · Martin Pool
This small patch relative to linux-2.4.20-ia64-021210.diff seems to be necessary to match the declarations in
include/linux/smp.handarch/ia64/kernel/smpboot.cto satisfy gcc 3.2.3:
linux/smp.h extern int smp_call_function (void (*fun · line 53
Quoted 7 lines
linux/smp.h renamed from linux/smp.h.~1~ +1
-1@@ -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.