summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4m_irq.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-13 22:07:56 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-19 21:17:58 -0700
commit1de937a536ea1a132d22dc198a9e07d208d40a29 (patch)
tree5b969f29fab3f910e1f7e40a84ebf71bd5502e7d /arch/sparc/kernel/sun4m_irq.c
parenta73554aedb8f69bd2024cbbf74980582bb91afb4 (diff)
downloadblackbird-op-linux-1de937a536ea1a132d22dc198a9e07d208d40a29.tar.gz
blackbird-op-linux-1de937a536ea1a132d22dc198a9e07d208d40a29.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c
index 39d40e96d396..8e1ecc6def26 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)
sbus_readl(&timers_global->l10_limit);
}
-static void sun4m_clear_profile_irq(int cpu)
+/* Exported for sun4m_smp.c */
+void sun4m_clear_profile_irq(int cpu)
{
sbus_readl(&timers_percpu[cpu]->l14_limit);
}
OpenPOWER on IntegriCloud