From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Tue, 05 Aug 2003 02:43:05 +0000 Subject: Re: janitor patch for 2.4.20-ia64 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Tue, 5 Aug 2003 12:08:07 +1000, Martin Pool 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.