summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/irq.h
diff options
context:
space:
mode:
authorSam Ravnborg2011-02-26 08:00:19 +0100
committerDavid S. Miller2011-03-17 02:19:13 +0100
commitbbdc2661eabddd442240533a66b2290f77d89ccc (patch)
tree900b06b8bfa42e9bc559564d19d6d59ccfc4a68b /arch/sparc/kernel/irq.h
parentsparc32: fix build with leon or floppy enabled (diff)
downloadkernel-qcow2-linux-bbdc2661eabddd442240533a66b2290f77d89ccc.tar.gz
kernel-qcow2-linux-bbdc2661eabddd442240533a66b2290f77d89ccc.tar.xz
kernel-qcow2-linux-bbdc2661eabddd442240533a66b2290f77d89ccc.zip
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.h')
-rw-r--r--arch/sparc/kernel/irq.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h
index db7513881530..4b4e54f32b26 100644
--- a/arch/sparc/kernel/irq.h
+++ b/arch/sparc/kernel/irq.h
@@ -1,5 +1,16 @@
#include <asm/btfixup.h>
+/*
+ * Platform specific irq configuration
+ * The individual platforms assign their platform
+ * specifics in their init functions.
+ */
+struct sparc_irq_config {
+ void (*init_timers)(irq_handler_t);
+};
+extern struct sparc_irq_config sparc_irq_config;
+
+
/* Dave Redman (djhr@tadpole.co.uk)
* changed these to function pointers.. it saves cycles and will allow
* the irq dependencies to be split into different files at a later date
@@ -45,12 +56,6 @@ static inline void load_profile_irq(int cpu, int limit)
BTFIXUP_CALL(load_profile_irq)(cpu, limit);
}
-extern void (*sparc_init_timers)(irq_handler_t lvl10_irq);
-
-extern void claim_ticker14(irq_handler_t irq_handler,
- int irq,
- unsigned int timeout);
-
#ifdef CONFIG_SMP
BTFIXUPDEF_CALL(void, set_cpu_int, int, int)
BTFIXUPDEF_CALL(void, clear_cpu_int, int, int)