lkml.org 
[lkml]   [1999]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.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>
\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.027 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site