Thanks Jay, that works.
-Mel


On Mon, May 02, 2005 at 10:50:10AM -0400, mel kravitz wrote: > > Anyone building kernels succesfully after linux-2.6.10?.. 2.6.11.8 > failes 'make boot' with: > <snip> > LD .tmp_vmlinux1 > kernel/built-in.o(.spinlock.text+0x58): In function `_read_trylock': > : undefined reference to `_raw_read_trylock' > kernel/built-in.o(.spinlock.text+0x64): In function `_read_trylock': > : undefined reference to `_raw_read_trylock' > make: *** [.tmp_vmlinux1] Error 1 > </snip>

--- orig-2.6.11/include/asm-alpha/spinlock.h    Thu Mar  3 13:25:19 2005
+++ new-2.6.11/include/asm-alpha/spinlock.h     Thu Mar  3 13:46:50 2005
@@ -198,4 +198,6 @@ static inline void _raw_read_unlock(rwlo
       : "m" (*lock) : "memory");
}

+#define _raw_read_trylock(lock) generic_raw_read_trylock(lock)
+
#endif /* _ALPHA_SPINLOCK_H */


--Jay++

---------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - ZKO2-3/N30       (603) 884-0301
110 Spit Brook Road, Nashua NH 03062       [EMAIL PROTECTED]
---------------------------------------------------------------



Reply to:


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to