public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] volatile unsigned long cpu_online_map vs unsigned long cpu_online_map
@ 2001-06-26 15:34 Andreas Schwab
  2001-06-26 16:12 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2001-06-26 15:34 UTC (permalink / raw)
  To: linux-ia64

include/asm-ia64/smp.h has 'extern unsigned long cpu_online_map', but
arch/ia64/kernel/setup.c and arch/ia64/kernel/smpboot.c have 'volatile
unsigned long cpu_online_map'.  Which one is correct?

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


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

* Re: [Linux-ia64] volatile unsigned long cpu_online_map vs unsigned long cpu_online_map
  2001-06-26 15:34 [Linux-ia64] volatile unsigned long cpu_online_map vs unsigned long cpu_online_map Andreas Schwab
@ 2001-06-26 16:12 ` David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2001-06-26 16:12 UTC (permalink / raw)
  To: linux-ia64

>>>>> On 26 Jun 2001 17:34:52 +0200, Andreas Schwab <schwab@suse.de> 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.  Apparently, there were some changes in the
gcc3.0 tree shortly before the final release which made gcc more picky
(at least I don't recall seeing those messages before).  Also, I think
there may be a new code generation problem in gcc3.0: the kernel gets
stuck in the middle of the boot (after the message "Starting up
secondaries").  I'll try to look into this soon, but I'm at Usenix the
rest of this week and on vacation right afterwards, so I may not get
to it until mid-July.  So it looks like gcc3.0 isn't as kernel-ready
as I thought it was.  Bummer.

	--david


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

end of thread, other threads:[~2001-06-26 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-26 15:34 [Linux-ia64] volatile unsigned long cpu_online_map vs unsigned long cpu_online_map Andreas Schwab
2001-06-26 16:12 ` David Mosberger

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