[parisc-linux] 2.4.20-pa27 64bits smp problem!

Matthew Wilcox willy@debian.org
Mon, 24 Feb 2003 17:50:13 +0000


On Mon, Feb 24, 2003 at 06:42:39PM +0100, Joel Soete wrote:
> sched.c:93: initializer element is not constant
> sched.c:93: (near initialization for `tasklist_lock')
> sched.c:93: initializer element is not constant
[...]
> which is precompile as:
> rwlock_t tasklist_lock __attribute__((__aligned__(64))) = (rwlock_t) { (spinlock_t)
> {1}, 0 };
> 
> What's wrong?

looks like gcc broke this again.  for the moment, you can try taking
out the casts.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk