2.6.11-rc SMP kernels broken?!

Heid Oliver oliver.heid at siemens.com
Thu Feb 24 13:13:50 UTC 2005


Finally got 2.6.11-rc4 SMP to work with the following patch

--- 2.6.11-rc4/include/asm-alpha/spinlock.h~	2005-02-23
11:00:46.000000000 +0100
+++ 2.6.11-rc4/include/asm-alpha/spinlock.h	2005-02-24
13:02:13.000000000 +0100
@@ -198,4 +198,6 @@
 	: "m" (*lock) : "memory");
 }
 
+#define _raw_read_trylock(lock) generic_raw_read_trylock(lock)
+
 #endif /* _ALPHA_SPINLOCK_H */

but I think an asm routine would be more appropriate.
	Oliver



-----Original Message-----
From: Heid Oliver 
Sent: Wednesday, February 23, 2005 12:43
To: 'Linux and Red Hat on Alpha processors'
Subject: 2.6.11-rc SMP kernels broken?!


The 2.6.11-rc[34] kernels seem to be broken for SMP alphas: A kernel build
emits

..
kernel/spinlock.c: In function `_read_trylock':
kernel/spinlock.c:41: warning: implicit declaration of function
`_raw_read_trylock'
..

I couldn't find any reference to this issue, so is it known, and has
somebody fixed
it already?!

Thanks
	Oliver

_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list




More information about the axp-list mailing list