diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2011-02-26 02:00:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-16 21:19:13 -0400 |
commit | bbdc2661eabddd442240533a66b2290f77d89ccc (patch) | |
tree | 900b06b8bfa42e9bc559564d19d6d59ccfc4a68b /arch/sparc/kernel/irq.h | |
parent | a2a211cb55f0f3d13d791f3d2adccc96032e6846 (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.h')
-rw-r--r-- | arch/sparc/kernel/irq.h | 17 |
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 @@ | |||
1 | #include <asm/btfixup.h> | 1 | #include <asm/btfixup.h> |
2 | 2 | ||
3 | /* | ||
4 | * Platform specific irq configuration | ||
5 | * The individual platforms assign their platform | ||
6 | * specifics in their init functions. | ||
7 | */ | ||
8 | struct sparc_irq_config { | ||
9 | void (*init_timers)(irq_handler_t); | ||
10 | }; | ||
11 | extern struct sparc_irq_config sparc_irq_config; | ||
12 | |||
13 | |||
3 | /* Dave Redman (djhr@tadpole.co.uk) | 14 | /* Dave Redman (djhr@tadpole.co.uk) |
4 | * changed these to function pointers.. it saves cycles and will allow | 15 | * changed these to function pointers.. it saves cycles and will allow |
5 | * the irq dependencies to be split into different files at a later date | 16 | * 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) | |||
45 | BTFIXUP_CALL(load_profile_irq)(cpu, limit); | 56 | BTFIXUP_CALL(load_profile_irq)(cpu, limit); |
46 | } | 57 | } |
47 | 58 | ||
48 | extern void (*sparc_init_timers)(irq_handler_t lvl10_irq); | ||
49 | |||
50 | extern void claim_ticker14(irq_handler_t irq_handler, | ||
51 | int irq, | ||
52 | unsigned int timeout); | ||
53 | |||
54 | #ifdef CONFIG_SMP | 59 | #ifdef CONFIG_SMP |
55 | BTFIXUPDEF_CALL(void, set_cpu_int, int, int) | 60 | BTFIXUPDEF_CALL(void, set_cpu_int, int, int) |
56 | BTFIXUPDEF_CALL(void, clear_cpu_int, int, int) | 61 | BTFIXUPDEF_CALL(void, clear_cpu_int, int, int) |