Skip to contentSkip to conversation

sparc:cleanup unused code in smp_32.h

PATCH Applied Kefeng Wang 3 participants 3 messages Mar 30, 2013 – Mar 31, 2013 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/sparc/include/asm/smp_32.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/sparc/include/asm/smp_32.h +0 -4
index 68503d3..3c8917f 100644
@@ -36,7 +36,6 @@ typedef void (*smpfunc_t)(unsigned long, unsigned long, unsigned long,
 		       unsigned long, unsigned long);
 
 void cpu_panic(void);
-extern void smp4m_irq_rotate(int cpu);
 
 /*
  *	General functions that each host system must provide.
@@ -106,9 +105,6 @@ extern int hard_smp_processor_id(void);
 
 #define raw_smp_processor_id()		(current_thread_info()->cpu)
 
-#define prof_multiplier(__cpu)		cpu_data(__cpu).multiplier
-#define prof_counter(__cpu)		cpu_data(__cpu).counter
-
 void smp_setup_cpu_possible_map(void);
 
 #endif /* !(__ASSEMBLY__) */
Signature · 1 line
1.6.0.2