[parisc-linux] 2.4.20-pa27 64bits smp problem!
Joel Soete
jsoe0708@tiscali.be
Thu, 27 Feb 2003 17:00:17 +0100
>-- Original Message --
>Subject: Re: [parisc-linux] 2.4.20-pa27 64bits smp problem!
>To: jsoe0708@tiscali.be (Joel Soete)
>From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
>Cc: willy@debian.org, parisc-linux@parisc-linux.org
>Date: Wed, 26 Feb 2003 13:58:57 -0500 (EST)
>
>
>> Would I have to open a bug report near gcc with this one?
>
>You mean for the errors:
>
>joel.c:19: error: initializer element is not constant
>joel.c:19: error: (near initialization for `MyRWLock')
>joel.c:19: error: initializer element is not constant
>
>No, fix the code. I don't believe you will win this one. This
>feature (extension) was deliberately removed from GCC.
>
Well I first choose the facility:
I remove the cast so that in asm-parisc/spinclok_t.h
...
#ifndef CONFIG_DEBUG_SPINLOCK
#define SPIN_LOCK_UNLOCKED { 1 }
...
#else
#define SPIN_LOCK_UNLOCKED { 1, 0L, 0L }
...
but it breacks many code else where fork.c, raid1.c, raid5.c,...
where it is easy to recast.
Any better idea?
Joel
---------------------------------
Vous surfez avec une ligne classique ?
Faites des economies avec Tiscali Complete
... Plus d'info sur http://complete.tiscali.be