]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Update includes in v850 files to reflect recent header changes
authorMiles Bader <miles@lsi.nec.co.jp>
Tue, 26 Nov 2002 13:20:35 +0000 (05:20 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 26 Nov 2002 13:20:35 +0000 (05:20 -0800)
Update includes in v850 files to reflect recent header changes

arch/v850/kernel/gbus_int.c
include/asm-v850/hardirq.h
include/asm-v850/percpu.h

index a1b659ec4e43032fe5056f0d39fb1861e7c4802d..1a5462150e2beef966dbdb263c26d1bf7a188405 100644 (file)
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/irq.h>
-#include <linux/sched.h>       /* For some unfathomable reason,
-                                  request_irq/free_irq are declared here.  */
+#include <linux/interrupt.h>
+#include <linux/signal.h>
 
 #include <asm/machdep.h>
-#include <asm/irq.h>
 
 
 /* The number of shared GINT interrupts. */
index cfe4febe8fd7c2c274312580afbda568fa87b881..a093bf233ebd142603cfdacefcf2566174b0da7b 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/config.h>
 #include <linux/threads.h>
+#include <linux/cache.h>
 
 typedef struct {
        unsigned int __softirq_pending;
index 1c145090c0c0e6d38fe734c06d69121b32b7d782..755ac6522b63dd7315c7df8a6bf476004428cef6 100644 (file)
@@ -3,4 +3,12 @@
 
 #include <asm-generic/percpu.h>
 
+/* This is a stupid hack to satisfy some grotty implicit include-file
+   dependency; basically, <linux/smp.h> uses BUG_ON, which calls BUG, but
+   doesn't include the necessary headers to define it.  In the twisted
+   festering mess of includes this must all be resolved somehow on other
+   platforms, but I haven't the faintest idea how, and don't care; here will
+   do, even though doesn't actually make any sense.  */
+#include <asm/page.h>
+
 #endif /* __V850_PERCPU_H__ */