diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-14 01:07:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-20 00:17:58 -0400 |
commit | 1de937a536ea1a132d22dc198a9e07d208d40a29 (patch) | |
tree | 5b969f29fab3f910e1f7e40a84ebf71bd5502e7d /arch/sparc/kernel/sun4m_irq.c | |
parent | a73554aedb8f69bd2024cbbf74980582bb91afb4 (diff) |
sparc32: Call sun4m_clear_profile_irq() directly from sun4m_smp.c
This is the only use of the clear_profile_irq() btfixup entry,
which just eats up lots of dead space on other platform types.
A subsequent commit will delete the other implementations and
the btfixup entry as well.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sun4m_irq.c')
-rw-r--r-- | arch/sparc/kernel/sun4m_irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c index 39d40e96d39..8e1ecc6def2 100644 --- a/arch/sparc/kernel/sun4m_irq.c +++ b/arch/sparc/kernel/sun4m_irq.c | |||
@@ -264,7 +264,8 @@ static void sun4m_clear_clock_irq(void) | |||
264 | sbus_readl(&timers_global->l10_limit); | 264 | sbus_readl(&timers_global->l10_limit); |
265 | } | 265 | } |
266 | 266 | ||
267 | static void sun4m_clear_profile_irq(int cpu) | 267 | /* Exported for sun4m_smp.c */ |
268 | void sun4m_clear_profile_irq(int cpu) | ||
268 | { | 269 | { |
269 | sbus_readl(&timers_percpu[cpu]->l14_limit); | 270 | sbus_readl(&timers_percpu[cpu]->l14_limit); |
270 | } | 271 | } |