summaryrefslogtreecommitdiff
path: root/include/asm-parisc/processor.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2003-09-20 20:20:02 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-20 20:20:02 -0700
commit972b4a74dcacecc9ae50fa46daa10d4efcaef4d1 (patch)
tree7df8c5dc5563327e164529b96f17b0d3a78e7361 /include/asm-parisc/processor.h
parent87a6ea5a476f8add51faa6ac422be9b6875f4e9d (diff)
[PATCH] Move EISA_bus
When I change the setting of CONFIG_EISA, everything rebuilds. This is because EISA_bus is declared in <asm/processor.h> which is implicitly included by just about everything. This is a silly place to declare it, so this patch moves it to include/linux/eisa.h. While I'm at it, I also move the variable definition to drivers/eisa/eisa-bus.c. The rest of this patch is fixing up the fallout from having to include <linux/eisa.h> if you use EISA_bus.
Diffstat (limited to 'include/asm-parisc/processor.h')
-rw-r--r--include/asm-parisc/processor.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-parisc/processor.h b/include/asm-parisc/processor.h
index ded1c4904510..4779a6efeb91 100644
--- a/include/asm-parisc/processor.h
+++ b/include/asm-parisc/processor.h
@@ -101,12 +101,6 @@ extern struct cpuinfo_parisc cpu_data[NR_CPUS];
#define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF)
-#ifdef CONFIG_EISA
-extern int EISA_bus;
-#else
-#define EISA_bus 0
-#endif
-
#define MCA_bus 0
#define MCA_bus__is_a_macro /* for versions in ksyms.c */