[PATCH] ocfs2: zero_user_page conversion
[wrt350n-kernel.git] / arch / mips / tx4938 / common / setup.c
blob142abf453e4079e307909130618c0927a2ac53aa
1 /*
2 * linux/arch/mips/tx4938/common/setup.c
4 * common tx4938 setup routines
6 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
7 * terms of the GNU General Public License version 2. This program is
8 * licensed "as is" without any warranty of any kind, whether express
9 * or implied.
11 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com)
14 #include <linux/errno.h>
15 #include <linux/init.h>
16 #include <linux/kernel_stat.h>
17 #include <linux/module.h>
18 #include <linux/signal.h>
19 #include <linux/sched.h>
20 #include <linux/types.h>
21 #include <linux/interrupt.h>
22 #include <linux/ioport.h>
23 #include <linux/timex.h>
24 #include <linux/slab.h>
25 #include <linux/random.h>
26 #include <linux/irq.h>
27 #include <asm/bitops.h>
28 #include <asm/bootinfo.h>
29 #include <asm/io.h>
30 #include <asm/irq.h>
31 #include <asm/mipsregs.h>
32 #include <asm/system.h>
33 #include <asm/time.h>
34 #include <asm/tx4938/rbtx4938.h>
36 extern void toshiba_rbtx4938_setup(void);
37 extern void rbtx4938_time_init(void);
39 void __init tx4938_setup(void);
40 void __init tx4938_time_init(void);
41 void dump_cp0(char *key);
43 void __init
44 plat_mem_setup(void)
46 board_time_init = tx4938_time_init;
47 toshiba_rbtx4938_setup();
50 void __init
51 tx4938_time_init(void)
53 rbtx4938_time_init();
56 void __init plat_timer_setup(struct irqaction *irq)
58 setup_irq(TX4938_IRQ_CPU_TIMER, irq);