2.3.39 smplock.h compile fixes

From: David Woodhouse (dwmw2@infradead.org)
Date: Tue Jan 11 2000 - 12:08:45 EST


Index: hardirq.h
===================================================================
RCS file: /cvs/linux/include/asm-i386/hardirq.h,v
retrieving revision 1.1.1.3.2.3
diff -u -r1.1.1.3.2.3 hardirq.h
--- include/asm-i386/hardirq.h 1999/12/17 17:22:47 1.1.1.3.2.3
+++ include/asm-i386/hardirq.h 2000/01/11 17:06:59
@@ -25,6 +25,7 @@
 #else
 
 #include <asm/atomic.h>
+#include <asm/smp.h>
 
 extern unsigned char global_irq_holder;
 extern unsigned volatile int global_irq_lock;
Index: smplock.h
===================================================================
RCS file: /cvs/linux/include/asm-i386/smplock.h,v
retrieving revision 1.1.1.2.2.3
diff -u -r1.1.1.2.2.3 smplock.h
--- include/asm-i386/smplock.h 1999/12/17 17:22:47 1.1.1.2.2.3
+++ include/asm-i386/smplock.h 2000/01/11 17:06:59
@@ -5,6 +5,8 @@
  */
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
+#include <linux/sched.h>
+#include <asm/current.h>
 
 extern spinlock_t kernel_flag;
 

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:18 EST