Messages in this thread Patch in this message | | | Date | Sat, 27 Mar 1999 04:15:15 +0000 | From | Tom Eastep <> | Subject | 2.2.5-pre2 SMP compilation error in kernel/signal.c |
| |
2.2.5 pre-patch 2 fails to compile with CONFIG_SMP=y (runqueue_lock is undeclared in kernel/signal.c). The attached patch corrects this problem; the resulting kernel seems to work ok in my environment (SMP ppro 150s, aic7880, eepro 100, hp100).
-Tom -- Tom Eastep Compaq Computer Corporation Enterprise Computing Group Tandem Division tom.eastep@compaq.com--- include/linux/sched.h~ Fri Mar 26 19:41:21 1999 +++ include/linux/sched.h Fri Mar 26 19:48:07 1999 @@ -113,6 +113,8 @@ */ extern rwlock_t tasklist_lock; extern spinlock_t scheduler_lock; +extern spinlock_t runqueue_lock; + extern void sched_init(void); extern void show_state(void); --- kernel/signal.c~ Fri Mar 26 19:39:57 1999 +++ kernel/signal.c Fri Mar 26 19:45:49 1999 @@ -11,6 +11,7 @@ #include <linux/unistd.h> #include <linux/smp_lock.h> #include <linux/init.h> +#include <linux/sched.h> #include <asm/uaccess.h> | |