move EISA_bus to eisa-bus.c
Subsystems (2)
PATCH 1/1 move EISA_bus to eisa-bus.c
Move EISA_bus from individual arches to eisa-bus.c.
--
Brian Gerst
arch/i386/kernel/i386_ksyms.c +0 -3
@@ -62,9 +62,6 @@/* platform dependent support */ EXPORT_SYMBOL (boot_cpu_data); -#ifdef CONFIG_EISA -EXPORT_SYMBOL (EISA_bus); -#endif EXPORT_SYMBOL (MCA_bus);#ifdef CONFIG_DISCONTIGMEM EXPORT_SYMBOL (node_data);
arch/i386/kernel/traps.c +0 -5
@@ -829,11 +829,6 @@_set_gate (idt_table+n,5 ,0 ,0 ,(gdt_entry<<3 )); } - -#ifdef CONFIG_EISA -int EISA_bus; -#endif -void __init trap_init (void ) {#ifdef CONFIG_EISA
arch/mips/kernel/mips_ksyms.c +0 -4
@@ -43,10 +43,6 @@EXPORT_SYMBOL (mips_machtype); -#ifdef CONFIG_EISA -EXPORT_SYMBOL (EISA_bus); -#endif -/* * String functions */
arch/mips/kernel/setup.c +0 -9
@@ -44,15 +44,6 @@struct screen_info screen_info;#endif -/* -* Set if box has EISA slots. -*/ -#ifdef CONFIG_EISA -int EISA_bus; - -EXPORT_SYMBOL (EISA_bus); -#endif -#if defined(CONFIG_BLK_DEV_FD ) || defined(CONFIG_BLK_DEV_FD_MODULE )extern struct fd_ops no_fd_ops;struct fd_ops *fd_ops;
arch/parisc/kernel/parisc_ksyms.c +0 -3
@@ -41,9 +41,6 @@#include <asm/processor.h> EXPORT_SYMBOL (kernel_thread);EXPORT_SYMBOL (boot_cpu_data); -#ifdef CONFIG_EISA -EXPORT_SYMBOL (EISA_bus); -#endif #include <linux/pm.h> EXPORT_SYMBOL (pm_power_off);
arch/parisc/kernel/setup.c +0 -4
@@ -52,10 +52,6 @@struct proc_dir_entry * proc_runway_root =NULL ;struct proc_dir_entry * proc_gsc_root =NULL ; -#ifdef CONFIG_EISA -int EISA_bus;/* This has to go somewhere in architecture specific code. */ -#endif -void __init setup_cmdline (char **cmdline_p) {extern unsigned int boot_args[];
drivers/eisa/eisa-bus.c +6 -0
@@ -15,6 +15,12 @@#include <linux/slab.h> #include <linux/ioport.h> #include <asm/io.h> +#include <asm/processor.h> /* for EISA_bus define */ + +#ifndef EISA_bus +int EISA_bus; +EXPORT_SYMBOL (EISA_bus); +#endif #define SLOT_ADDRESS (r,n) (r->bus_base_addr + (0x1000 * n))