public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* janitor patch for 2.4.20-ia64
@ 2003-08-05  2:08 Martin Pool
  2003-08-05  2:43 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Pool @ 2003-08-05  2:08 UTC (permalink / raw)
  To: linux-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:

--- 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;
 
-- 
Martin 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: janitor patch for 2.4.20-ia64
  2003-08-05  2:08 janitor patch for 2.4.20-ia64 Martin Pool
@ 2003-08-05  2:43 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2003-08-05  2:43 UTC (permalink / raw)
  To: linux-ia64

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-05  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05  2:08 janitor patch for 2.4.20-ia64 Martin Pool
2003-08-05  2:43 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox