[Linux-ia64] Re: volatile unsigned long cpu_online_map vs unsigned long cpu_online_map

From: Bill Nottingham <notting_at_redhat.com>
Date: 2001-06-27 02:24:20
David Mosberger (davidm@hpl.hp.com) said: 
>   Andreas> include/asm-ia64/smp.h has 'extern unsigned long
>   Andreas> cpu_online_map', but arch/ia64/kernel/setup.c and
>   Andreas> arch/ia64/kernel/smpboot.c have 'volatile unsigned long
>   Andreas> cpu_online_map'.  Which one is correct?
> It should be volatile.

Also, shoudn't it be extern in at least one of setup.c/smpboot.c?

Received on Tue Jun 26 09:26:34 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:04 EST