aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2013-03-29 20:28:26 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-31 19:29:12 -0400
commitbf3aece8af91eabea2cfb2cbe528abc394695163 (patch)
tree496a55f6472a70cfcb98702da6dfaf112facad61 /arch/sparc/include
parent9a0ac1b6af111f2fa0f2a39e9bbbebb74da7d26a (diff)
sparc:cleanup unused code in smp_32.h
After genirq and generic clockevent support at sparc32, smp4m_irq_rotate(), prof_multiplier() and prof_counter() are no longer used and should be removed. Find more info from commit 6baa9b20 & 62f08283. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/smp_32.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/smp_32.h b/arch/sparc/include/asm/smp_32.h
index 68503d3d1b9e..3c8917f054de 100644
--- a/arch/sparc/include/asm/smp_32.h
+++ b/arch/sparc/include/asm/smp_32.h
@@ -36,7 +36,6 @@ typedef void (*smpfunc_t)(unsigned long, unsigned long, unsigned long,
36 unsigned long, unsigned long); 36 unsigned long, unsigned long);
37 37
38void cpu_panic(void); 38void cpu_panic(void);
39extern void smp4m_irq_rotate(int cpu);
40 39
41/* 40/*
42 * General functions that each host system must provide. 41 * General functions that each host system must provide.
@@ -106,9 +105,6 @@ extern int hard_smp_processor_id(void);
106 105
107#define raw_smp_processor_id() (current_thread_info()->cpu) 106#define raw_smp_processor_id() (current_thread_info()->cpu)
108 107
109#define prof_multiplier(__cpu) cpu_data(__cpu).multiplier
110#define prof_counter(__cpu) cpu_data(__cpu).counter
111
112void smp_setup_cpu_possible_map(void); 108void smp_setup_cpu_possible_map(void);
113 109
114#endif /* !(__ASSEMBLY__) */ 110#endif /* !(__ASSEMBLY__) */