Re: 2.5.70-mm4
From: Paul Larson <hidden>
Date: 2003-06-04 13:42:21
Also in:
lkml
See bug 772 - http://bugme.osdl.org/show_bug.cgi?id=772 ---------------------- CC kernel/ksyms.o kernel/ksyms.c:490: `__preempt_spin_lock' undeclared here (not in a function) kernel/ksyms.c:490: initializer element is not constant kernel/ksyms.c:490: (near initialization for `__ksymtab___preempt_spin_lock.value') kernel/ksyms.c:491: `__preempt_write_lock' undeclared here (not in a function) kernel/ksyms.c:491: initializer element is not constant kernel/ksyms.c:491: (near initialization for `__ksymtab___preempt_write_lock.value') make[1]: *** [kernel/ksyms.o] Error 1 make: *** [kernel] Error 2 It looks like this got broken in /include/linux/spinlock.h: #if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT) && !defined(CONFIG_DEBUG_EVENTLOG) void __preempt_spin_lock(spinlock_t *lock); void __preempt_write_lock(rwlock_t *lock); ... -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>