Commit ef21b32a authored by Rich Felker's avatar Rich Felker

sh: fix smp-shx3 build regression from removal of arch localtimer

The removal was not complete and left behind one reference to a
removed function in smp-shx3.c. For completeness, also remove
declarations for functions that were removed.

Fixes: 45624ac3 "sh: remove arch-specific localtimer and use generic one"
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent 16b02d71
...@@ -34,11 +34,6 @@ enum { ...@@ -34,11 +34,6 @@ enum {
DECLARE_PER_CPU(int, cpu_state); DECLARE_PER_CPU(int, cpu_state);
void smp_message_recv(unsigned int msg); void smp_message_recv(unsigned int msg);
void smp_timer_broadcast(const struct cpumask *mask);
void local_timer_interrupt(void);
void local_timer_setup(unsigned int cpu);
void local_timer_stop(unsigned int cpu);
void arch_send_call_function_single_ipi(int cpu); void arch_send_call_function_single_ipi(int cpu);
void arch_send_call_function_ipi_mask(const struct cpumask *mask); void arch_send_call_function_ipi_mask(const struct cpumask *mask);
......
...@@ -73,8 +73,6 @@ static void shx3_prepare_cpus(unsigned int max_cpus) ...@@ -73,8 +73,6 @@ static void shx3_prepare_cpus(unsigned int max_cpus)
{ {
int i; int i;
local_timer_setup(0);
BUILD_BUG_ON(SMP_MSG_NR >= 8); BUILD_BUG_ON(SMP_MSG_NR >= 8);
for (i = 0; i < SMP_MSG_NR; i++) for (i = 0; i < SMP_MSG_NR; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment