Skip to content

Commit

Permalink
sparc:cleanup unused code in smp_32.h
Browse files Browse the repository at this point in the history
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 6baa9b2 & 62f0828.

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>
  • Loading branch information
Kefeng Wang authored and David S. Miller committed Mar 31, 2013
1 parent 9a0ac1b commit bf3aece
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/sparc/include/asm/smp_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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__) */
Expand Down

0 comments on commit bf3aece

Please sign in to comment.