Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Alchemy: kill useless #include's, #define's and extern's

Go thru the Alchemy code and hunt down every unneeded #include, #define, and
extern (some of which refer to already long dead functions).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Sergei Shtylyov and committed by
Ralf Baechle
ce28f94c b57c1913

+49 -359
+1 -4
arch/mips/au1000/common/cputable.c
··· 11 11 * as published by the Free Software Foundation; either version 12 12 * 2 of the License, or (at your option) any later version. 13 13 */ 14 - #include <linux/string.h> 15 - #include <linux/sched.h> 16 - #include <linux/threads.h> 17 - #include <linux/init.h> 14 + 18 15 #include <asm/mach-au1x00/au1000.h> 19 16 20 17 struct cpu_spec* cur_cpu_spec[NR_CPUS];
-6
arch/mips/au1000/common/dbdma.c
··· 31 31 */ 32 32 33 33 #include <linux/kernel.h> 34 - #include <linux/errno.h> 35 - #include <linux/sched.h> 36 34 #include <linux/slab.h> 37 35 #include <linux/spinlock.h> 38 - #include <linux/string.h> 39 - #include <linux/delay.h> 40 36 #include <linux/interrupt.h> 41 37 #include <linux/module.h> 42 38 #include <asm/mach-au1x00/au1000.h> 43 39 #include <asm/mach-au1x00/au1xxx_dbdma.h> 44 - #include <asm/system.h> 45 - 46 40 47 41 #if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200) 48 42
-2
arch/mips/au1000/common/dbg_io.c
··· 1 1 2 - #include <asm/io.h> 3 2 #include <asm/mach-au1x00/au1000.h> 4 3 5 4 #ifdef CONFIG_KGDB ··· 54 55 #define UART16550_READ(y) (au_readl(DEBUG_BASE + y) & 0xff) 55 56 #define UART16550_WRITE(y, z) (au_writel(z&0xff, DEBUG_BASE + y)) 56 57 57 - extern unsigned long get_au1x00_uart_baud_base(void); 58 58 extern unsigned long calc_clock(void); 59 59 60 60 void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop)
+1 -4
arch/mips/au1000/common/dma.c
··· 33 33 #include <linux/module.h> 34 34 #include <linux/kernel.h> 35 35 #include <linux/errno.h> 36 - #include <linux/sched.h> 37 36 #include <linux/spinlock.h> 38 - #include <linux/string.h> 39 - #include <linux/delay.h> 40 37 #include <linux/interrupt.h> 41 - #include <asm/system.h> 38 + 42 39 #include <asm/mach-au1x00/au1000.h> 43 40 #include <asm/mach-au1x00/au1000_dma.h> 44 41
-5
arch/mips/au1000/common/gpio.c
··· 27 27 * others have a second one : GPIO2 28 28 */ 29 29 30 - #include <linux/init.h> 31 - #include <linux/io.h> 32 - #include <linux/types.h> 33 30 #include <linux/module.h> 34 - 35 - #include <asm/addrspace.h> 36 31 37 32 #include <asm/mach-au1x00/au1000.h> 38 33 #include <asm/gpio.h>
-1
arch/mips/au1000/common/irq.c
··· 26 26 */ 27 27 #include <linux/bitops.h> 28 28 #include <linux/init.h> 29 - #include <linux/io.h> 30 29 #include <linux/interrupt.h> 31 30 #include <linux/irq.h> 32 31
+1 -1
arch/mips/au1000/common/pci.c
··· 30 30 * with this program; if not, write to the Free Software Foundation, Inc., 31 31 * 675 Mass Ave, Cambridge, MA 02139, USA. 32 32 */ 33 - #include <linux/types.h> 33 + 34 34 #include <linux/pci.h> 35 35 #include <linux/kernel.h> 36 36 #include <linux/init.h>
+1 -3
arch/mips/au1000/common/platform.c
··· 7 7 * License version 2. This program is licensed "as is" without any 8 8 * warranty of any kind, whether express or implied. 9 9 */ 10 - #include <linux/device.h> 10 + 11 11 #include <linux/platform_device.h> 12 - #include <linux/kernel.h> 13 12 #include <linux/init.h> 14 - #include <linux/resource.h> 15 13 16 14 #include <asm/mach-au1x00/au1xxx.h> 17 15
+1 -8
arch/mips/au1000/common/power.c
··· 29 29 * with this program; if not, write to the Free Software Foundation, Inc., 30 30 * 675 Mass Ave, Cambridge, MA 02139, USA. 31 31 */ 32 + 32 33 #include <linux/init.h> 33 34 #include <linux/pm.h> 34 35 #include <linux/pm_legacy.h> 35 - #include <linux/slab.h> 36 36 #include <linux/sysctl.h> 37 37 #include <linux/jiffies.h> 38 38 39 - #include <asm/string.h> 40 39 #include <asm/uaccess.h> 41 - #include <asm/io.h> 42 - #include <asm/system.h> 43 40 #include <asm/cacheflush.h> 44 41 #include <asm/mach-au1x00/au1000.h> 45 42 ··· 51 54 52 55 static void au1000_calibrate_delay(void); 53 56 54 - extern void set_au1x00_speed(unsigned int new_freq); 55 - extern unsigned int get_au1x00_speed(void); 56 - extern unsigned long get_au1x00_uart_baud_base(void); 57 - extern void set_au1x00_uart_baud_base(unsigned long new_baud_base); 58 57 extern unsigned long save_local_and_disable(int controller); 59 58 extern void restore_local_and_enable(int controller, unsigned long mask); 60 59 extern void local_enable_irq(unsigned int irq_nr);
+1 -1
arch/mips/au1000/common/prom.c
··· 33 33 * with this program; if not, write to the Free Software Foundation, Inc., 34 34 * 675 Mass Ave, Cambridge, MA 02139, USA. 35 35 */ 36 + 36 37 #include <linux/module.h> 37 - #include <linux/kernel.h> 38 38 #include <linux/init.h> 39 39 #include <linux/string.h> 40 40
-1
arch/mips/au1000/common/puts.c
··· 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 30 31 - #include <linux/types.h> 32 31 #include <asm/mach-au1x00/au1000.h> 33 32 34 33 #define SERIAL_BASE UART_BASE
+1 -7
arch/mips/au1000/common/reset.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 - #include <linux/sched.h> 31 - #include <linux/mm.h> 32 - #include <asm/io.h> 33 - #include <asm/pgtable.h> 34 - #include <asm/processor.h> 35 - #include <asm/reboot.h> 36 - #include <asm/system.h> 30 + 37 31 #include <asm/mach-au1x00/au1000.h> 38 32 39 33 extern int au_sleep(void);
+1 -10
arch/mips/au1000/common/setup.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 + 28 29 #include <linux/init.h> 29 - #include <linux/sched.h> 30 30 #include <linux/ioport.h> 31 - #include <linux/mm.h> 32 - #include <linux/delay.h> 33 - #include <linux/interrupt.h> 34 31 #include <linux/module.h> 35 32 #include <linux/pm.h> 36 33 37 - #include <asm/cpu.h> 38 - #include <asm/bootinfo.h> 39 - #include <asm/irq.h> 40 34 #include <asm/mipsregs.h> 41 35 #include <asm/reboot.h> 42 - #include <asm/pgtable.h> 43 36 #include <asm/time.h> 44 37 45 38 #include <au1000.h> ··· 42 49 extern void au1000_restart(char *); 43 50 extern void au1000_halt(void); 44 51 extern void au1000_power_off(void); 45 - extern void au1x_time_init(void); 46 - extern void au1x_timer_setup(struct irqaction *irq); 47 52 extern void set_cpuspec(void); 48 53 49 54 void __init plat_mem_setup(void)
+1 -1
arch/mips/au1000/common/sleeper.S
··· 9 9 * Free Software Foundation; either version 2 of the License, or (at your 10 10 * option) any later version. 11 11 */ 12 + 12 13 #include <asm/asm.h> 13 14 #include <asm/mipsregs.h> 14 - #include <asm/addrspace.h> 15 15 #include <asm/regdef.h> 16 16 #include <asm/stackframe.h> 17 17
-8
arch/mips/au1000/common/time.c
··· 34 34 35 35 #include <linux/types.h> 36 36 #include <linux/init.h> 37 - #include <linux/kernel_stat.h> 38 - #include <linux/sched.h> 39 37 #include <linux/spinlock.h> 40 - #include <linux/hardirq.h> 41 38 42 - #include <asm/compiler.h> 43 39 #include <asm/mipsregs.h> 44 40 #include <asm/time.h> 45 - #include <asm/div64.h> 46 41 #include <asm/mach-au1x00/au1000.h> 47 - 48 - #include <linux/mc146818rtc.h> 49 - #include <linux/timex.h> 50 42 51 43 static int no_au1xxx_32khz; 52 44 extern int allow_au1k_wait; /* default off for CP0 Counter */
+2 -13
arch/mips/au1000/db1x00/board_setup.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 - #include <linux/init.h> 31 - #include <linux/sched.h> 32 - #include <linux/ioport.h> 33 - #include <linux/mm.h> 34 - #include <linux/console.h> 35 - #include <linux/mc146818rtc.h> 36 - #include <linux/delay.h> 37 30 38 - #include <asm/cpu.h> 39 - #include <asm/bootinfo.h> 40 - #include <asm/irq.h> 41 - #include <asm/mipsregs.h> 42 - #include <asm/reboot.h> 43 - #include <asm/pgtable.h> 31 + #include <linux/init.h> 32 + 44 33 #include <asm/mach-au1x00/au1000.h> 45 34 #include <asm/mach-db1x00/db1x00.h> 46 35
-5
arch/mips/au1000/db1x00/init.c
··· 28 28 */ 29 29 30 30 #include <linux/init.h> 31 - #include <linux/mm.h> 32 - #include <linux/sched.h> 33 - #include <linux/bootmem.h> 34 - #include <linux/string.h> 35 31 #include <linux/kernel.h> 36 32 37 - #include <asm/addrspace.h> 38 33 #include <asm/bootinfo.h> 39 34 40 35 #include <prom.h>
+2 -19
arch/mips/au1000/db1x00/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 #ifdef CONFIG_MIPS_DB1500
+2 -12
arch/mips/au1000/mtx-1/board_setup.c
··· 28 28 * with this program; if not, write to the Free Software Foundation, Inc., 29 29 * 675 Mass Ave, Cambridge, MA 02139, USA. 30 30 */ 31 - #include <linux/init.h> 32 - #include <linux/sched.h> 33 - #include <linux/ioport.h> 34 - #include <linux/mm.h> 35 - #include <linux/console.h> 36 - #include <linux/delay.h> 37 31 38 - #include <asm/cpu.h> 39 - #include <asm/bootinfo.h> 40 - #include <asm/irq.h> 41 - #include <asm/mipsregs.h> 42 - #include <asm/reboot.h> 43 - #include <asm/pgtable.h> 32 + #include <linux/init.h> 33 + 44 34 #include <asm/mach-au1x00/au1000.h> 45 35 46 36 extern int (*board_pci_idsel)(unsigned int devsel, int assert);
+3 -7
arch/mips/au1000/mtx-1/init.c
··· 28 28 * with this program; if not, write to the Free Software Foundation, Inc., 29 29 * 675 Mass Ave, Cambridge, MA 02139, USA. 30 30 */ 31 - #include <linux/string.h> 32 - #include <linux/kernel.h> 33 - #include <linux/sched.h> 34 - #include <linux/init.h> 35 - #include <linux/mm.h> 36 - #include <linux/bootmem.h> 37 31 38 - #include <asm/addrspace.h> 32 + #include <linux/kernel.h> 33 + #include <linux/init.h> 34 + 39 35 #include <asm/bootinfo.h> 40 36 41 37 #include <prom.h>
+2 -19
arch/mips/au1000/mtx-1/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 char irq_tab_alchemy[][5] __initdata = {
-1
arch/mips/au1000/mtx-1/platform.c
··· 19 19 */ 20 20 21 21 #include <linux/init.h> 22 - #include <linux/types.h> 23 22 #include <linux/platform_device.h> 24 23 #include <linux/leds.h> 25 24 #include <linux/gpio_keys.h>
+1 -10
arch/mips/au1000/pb1000/board_setup.c
··· 23 23 * with this program; if not, write to the Free Software Foundation, Inc., 24 24 * 675 Mass Ave, Cambridge, MA 02139, USA. 25 25 */ 26 + 26 27 #include <linux/init.h> 27 - #include <linux/sched.h> 28 - #include <linux/ioport.h> 29 - #include <linux/mm.h> 30 - #include <linux/console.h> 31 28 #include <linux/delay.h> 32 29 33 - #include <asm/cpu.h> 34 - #include <asm/bootinfo.h> 35 - #include <asm/irq.h> 36 - #include <asm/mipsregs.h> 37 - #include <asm/reboot.h> 38 - #include <asm/pgtable.h> 39 30 #include <asm/mach-au1x00/au1000.h> 40 31 #include <asm/mach-pb1x00/pb1000.h> 41 32
+1 -5
arch/mips/au1000/pb1000/init.c
··· 26 26 * with this program; if not, write to the Free Software Foundation, Inc., 27 27 * 675 Mass Ave, Cambridge, MA 02139, USA. 28 28 */ 29 + 29 30 #include <linux/init.h> 30 - #include <linux/mm.h> 31 - #include <linux/sched.h> 32 - #include <linux/bootmem.h> 33 - #include <linux/string.h> 34 31 #include <linux/kernel.h> 35 32 36 - #include <asm/addrspace.h> 37 33 #include <asm/bootinfo.h> 38 34 39 35 #include <prom.h>
+3 -19
arch/mips/au1000/pb1000/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + #include <linux/interrupt.h> 31 + 48 32 #include <asm/mach-au1x00/au1000.h> 49 33 50 34 struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
+1 -10
arch/mips/au1000/pb1100/board_setup.c
··· 23 23 * with this program; if not, write to the Free Software Foundation, Inc., 24 24 * 675 Mass Ave, Cambridge, MA 02139, USA. 25 25 */ 26 + 26 27 #include <linux/init.h> 27 - #include <linux/sched.h> 28 - #include <linux/ioport.h> 29 - #include <linux/mm.h> 30 - #include <linux/console.h> 31 28 #include <linux/delay.h> 32 29 33 - #include <asm/cpu.h> 34 - #include <asm/bootinfo.h> 35 - #include <asm/irq.h> 36 - #include <asm/mipsregs.h> 37 - #include <asm/reboot.h> 38 - #include <asm/pgtable.h> 39 30 #include <asm/mach-au1x00/au1000.h> 40 31 #include <asm/mach-pb1x00/pb1100.h> 41 32
+1 -5
arch/mips/au1000/pb1100/init.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 + 30 31 #include <linux/init.h> 31 - #include <linux/mm.h> 32 - #include <linux/sched.h> 33 - #include <linux/bootmem.h> 34 - #include <linux/string.h> 35 32 #include <linux/kernel.h> 36 33 37 - #include <asm/addrspace.h> 38 34 #include <asm/bootinfo.h> 39 35 40 36 #include <prom.h>
+2 -19
arch/mips/au1000/pb1100/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
+1 -19
arch/mips/au1000/pb1200/board_setup.c
··· 23 23 * with this program; if not, write to the Free Software Foundation, Inc., 24 24 * 675 Mass Ave, Cambridge, MA 02139, USA. 25 25 */ 26 + 26 27 #include <linux/init.h> 27 28 #include <linux/sched.h> 28 - #include <linux/ioport.h> 29 - #include <linux/mm.h> 30 - #include <linux/console.h> 31 - #include <linux/mc146818rtc.h> 32 - #include <linux/delay.h> 33 - 34 - #if defined(CONFIG_BLK_DEV_IDE_AU1XXX) 35 - #include <linux/ide.h> 36 - #endif 37 - 38 - #include <asm/cpu.h> 39 - #include <asm/bootinfo.h> 40 - #include <asm/irq.h> 41 - #include <asm/mipsregs.h> 42 - #include <asm/reboot.h> 43 - #include <asm/pgtable.h> 44 29 45 30 #include <au1000.h> 46 - #include <au1xxx_dbdma.h> 47 31 #include <prom.h> 48 32 49 33 #ifdef CONFIG_MIPS_PB1200 ··· 36 52 37 53 #ifdef CONFIG_MIPS_DB1200 38 54 #include <asm/mach-db1x00/db1200.h> 39 - #define PB1200_ETH_INT DB1200_ETH_INT 40 - #define PB1200_IDE_INT DB1200_IDE_INT 41 55 #endif 42 56 43 57 extern void _board_init_irq(void);
+1 -5
arch/mips/au1000/pb1200/init.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 + 30 31 #include <linux/init.h> 31 - #include <linux/mm.h> 32 - #include <linux/sched.h> 33 - #include <linux/bootmem.h> 34 - #include <linux/string.h> 35 32 #include <linux/kernel.h> 36 33 37 - #include <asm/addrspace.h> 38 34 #include <asm/bootinfo.h> 39 35 40 36 #include <prom.h>
+3 -19
arch/mips/au1000/pb1200/irqmap.c
··· 22 22 * with this program; if not, write to the Free Software Foundation, Inc., 23 23 * 675 Mass Ave, Cambridge, MA 02139, USA. 24 24 */ 25 - #include <linux/errno.h> 26 - #include <linux/init.h> 27 - #include <linux/irq.h> 28 - #include <linux/kernel_stat.h> 29 - #include <linux/module.h> 30 - #include <linux/signal.h> 31 - #include <linux/sched.h> 32 - #include <linux/types.h> 33 - #include <linux/interrupt.h> 34 - #include <linux/ioport.h> 35 - #include <linux/timex.h> 36 - #include <linux/slab.h> 37 - #include <linux/random.h> 38 - #include <linux/delay.h> 39 - #include <linux/bitops.h> 40 25 41 - #include <asm/bootinfo.h> 42 - #include <asm/io.h> 43 - #include <asm/mipsregs.h> 44 - #include <asm/system.h> 26 + #include <linux/init.h> 27 + #include <linux/interrupt.h> 28 + 45 29 #include <asm/mach-au1x00/au1000.h> 46 30 47 31 #ifdef CONFIG_MIPS_PB1200
+1 -10
arch/mips/au1000/pb1500/board_setup.c
··· 23 23 * with this program; if not, write to the Free Software Foundation, Inc., 24 24 * 675 Mass Ave, Cambridge, MA 02139, USA. 25 25 */ 26 + 26 27 #include <linux/init.h> 27 - #include <linux/sched.h> 28 - #include <linux/ioport.h> 29 - #include <linux/mm.h> 30 - #include <linux/console.h> 31 28 #include <linux/delay.h> 32 29 33 - #include <asm/cpu.h> 34 - #include <asm/bootinfo.h> 35 - #include <asm/irq.h> 36 - #include <asm/mipsregs.h> 37 - #include <asm/reboot.h> 38 - #include <asm/pgtable.h> 39 30 #include <asm/mach-au1x00/au1000.h> 40 31 #include <asm/mach-pb1x00/pb1500.h> 41 32
+1 -5
arch/mips/au1000/pb1500/init.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 + 30 31 #include <linux/init.h> 31 - #include <linux/mm.h> 32 - #include <linux/sched.h> 33 - #include <linux/bootmem.h> 34 - #include <linux/string.h> 35 32 #include <linux/kernel.h> 36 33 37 - #include <asm/addrspace.h> 38 34 #include <asm/bootinfo.h> 39 35 40 36 #include <prom.h>
+2 -19
arch/mips/au1000/pb1500/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 char irq_tab_alchemy[][5] __initdata = {
+2 -13
arch/mips/au1000/pb1550/board_setup.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 - #include <linux/init.h> 31 - #include <linux/sched.h> 32 - #include <linux/ioport.h> 33 - #include <linux/mm.h> 34 - #include <linux/console.h> 35 - #include <linux/mc146818rtc.h> 36 - #include <linux/delay.h> 37 30 38 - #include <asm/cpu.h> 39 - #include <asm/bootinfo.h> 40 - #include <asm/irq.h> 41 - #include <asm/mipsregs.h> 42 - #include <asm/reboot.h> 43 - #include <asm/pgtable.h> 31 + #include <linux/init.h> 32 + 44 33 #include <asm/mach-au1x00/au1000.h> 45 34 #include <asm/mach-pb1x00/pb1550.h> 46 35
+1 -5
arch/mips/au1000/pb1550/init.c
··· 27 27 * with this program; if not, write to the Free Software Foundation, Inc., 28 28 * 675 Mass Ave, Cambridge, MA 02139, USA. 29 29 */ 30 + 30 31 #include <linux/init.h> 31 - #include <linux/mm.h> 32 - #include <linux/sched.h> 33 - #include <linux/bootmem.h> 34 - #include <linux/string.h> 35 32 #include <linux/kernel.h> 36 33 37 - #include <asm/addrspace.h> 38 34 #include <asm/bootinfo.h> 39 35 40 36 #include <prom.h>
+2 -19
arch/mips/au1000/pb1550/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 char irq_tab_alchemy[][5] __initdata = {
+1 -10
arch/mips/au1000/xxs1500/board_setup.c
··· 23 23 * with this program; if not, write to the Free Software Foundation, Inc., 24 24 * 675 Mass Ave, Cambridge, MA 02139, USA. 25 25 */ 26 + 26 27 #include <linux/init.h> 27 - #include <linux/sched.h> 28 - #include <linux/ioport.h> 29 - #include <linux/mm.h> 30 - #include <linux/console.h> 31 28 #include <linux/delay.h> 32 29 33 - #include <asm/cpu.h> 34 - #include <asm/bootinfo.h> 35 - #include <asm/irq.h> 36 - #include <asm/mipsregs.h> 37 - #include <asm/reboot.h> 38 - #include <asm/pgtable.h> 39 30 #include <asm/mach-au1x00/au1000.h> 40 31 41 32 void board_reset(void)
+1 -5
arch/mips/au1000/xxs1500/init.c
··· 26 26 * with this program; if not, write to the Free Software Foundation, Inc., 27 27 * 675 Mass Ave, Cambridge, MA 02139, USA. 28 28 */ 29 + 29 30 #include <linux/init.h> 30 - #include <linux/mm.h> 31 - #include <linux/sched.h> 32 - #include <linux/bootmem.h> 33 - #include <linux/string.h> 34 31 #include <linux/kernel.h> 35 32 36 - #include <asm/addrspace.h> 37 33 #include <asm/bootinfo.h> 38 34 39 35 #include <prom.h>
+2 -19
arch/mips/au1000/xxs1500/irqmap.c
··· 25 25 * with this program; if not, write to the Free Software Foundation, Inc., 26 26 * 675 Mass Ave, Cambridge, MA 02139, USA. 27 27 */ 28 - #include <linux/errno.h> 29 - #include <linux/init.h> 30 - #include <linux/irq.h> 31 - #include <linux/kernel_stat.h> 32 - #include <linux/module.h> 33 - #include <linux/signal.h> 34 - #include <linux/sched.h> 35 - #include <linux/types.h> 36 - #include <linux/interrupt.h> 37 - #include <linux/ioport.h> 38 - #include <linux/timex.h> 39 - #include <linux/slab.h> 40 - #include <linux/random.h> 41 - #include <linux/delay.h> 42 - #include <linux/bitops.h> 43 28 44 - #include <asm/bootinfo.h> 45 - #include <asm/io.h> 46 - #include <asm/mipsregs.h> 47 - #include <asm/system.h> 29 + #include <linux/init.h> 30 + 48 31 #include <asm/mach-au1x00/au1000.h> 49 32 50 33 struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
+2 -5
arch/mips/pci/fixup-au1000.c
··· 26 26 * with this program; if not, write to the Free Software Foundation, Inc., 27 27 * 675 Mass Ave, Cambridge, MA 02139, USA. 28 28 */ 29 - #include <linux/types.h> 30 - #include <linux/pci.h> 31 - #include <linux/kernel.h> 32 - #include <linux/init.h> 33 29 34 - #include <asm/mach-au1x00/au1000.h> 30 + #include <linux/pci.h> 31 + #include <linux/init.h> 35 32 36 33 extern char irq_tab_alchemy[][5]; 37 34