SMP kernels for an HP J5600
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Grant Grundler
Quoted 4 lines
But the same bugs jejb found still exist in 2.4 kernels. Kyle McMartin is looking at back porting those fixes and could probably use help with the N4K and "
mb()inspinlock()" patches.I passed the torch to Joel for this, :)
Need a bit help:
_atomic_spin_[...], _raw_spin[...] are not in 2.4, exact?
in 2.4
I meet:
#define spin_lock(x) do { \
while (__ldcw (&(x)->lock) =3D=3D 0) \
while ((x)->lock =3D=3D 0) ; \
} while (0)may I suggest to replace such thing by:
static inline void spin_lock(spinlock_t *x)
{
volatile unsigned int *a;
mb();
a =3D __ldcw_align(x);
while (__ldcw(a) =3D=3D 0)
while (*a =3D=3D 0);
mb();
}Thanks in advance for feedback,
Joel
-------------------------------------------------------------------------=
--
Tiscali ADSL LIGHT, 19,95 EUR/mois pendant 6 mois, c'est le moment de fai= re
le pas!
http://reg.tiscali.be/default.asp?lg=3Dfr
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux