aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/irq_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-02-26 02:00:19 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-16 21:19:13 -0400
commitbbdc2661eabddd442240533a66b2290f77d89ccc (patch)
tree900b06b8bfa42e9bc559564d19d6d59ccfc4a68b /arch/sparc/kernel/irq_32.c
parenta2a211cb55f0f3d13d791f3d2adccc96032e6846 (diff)
sparc32: introduce sparc_irq_config
sparc_irq_config is used to hold the platform specific irq setup. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/irq_32.c')
-rw-r--r--arch/sparc/kernel/irq_32.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/sparc/kernel/irq_32.c b/arch/sparc/kernel/irq_32.c
index 93afee00a927..b80b8bf0bf00 100644
--- a/arch/sparc/kernel/irq_32.c
+++ b/arch/sparc/kernel/irq_32.c
@@ -29,6 +29,9 @@
29#define SMP_NOP3 29#define SMP_NOP3
30#endif /* SMP */ 30#endif /* SMP */
31 31
32/* platform specific irq setup */
33struct sparc_irq_config sparc_irq_config;
34
32unsigned long arch_local_irq_save(void) 35unsigned long arch_local_irq_save(void)
33{ 36{
34 unsigned long retval; 37 unsigned long retval;
@@ -100,14 +103,7 @@ EXPORT_SYMBOL(arch_local_irq_restore);
100 * 103 *
101 */ 104 */
102 105
103static void irq_panic(void)
104{
105 prom_printf("machine: %s doesn't have irq handlers defined!\n",
106 &cputypval[0]);
107 prom_halt();
108}
109 106
110void (*sparc_init_timers)(irq_handler_t) = (void (*)(irq_handler_t))irq_panic;
111 107
112/* 108/*
113 * Dave Redman (djhr@tadpole.co.uk) 109 * Dave Redman (djhr@tadpole.co.uk)