parisc: smp: Add declaration for start_cpu_itimer()

Avoid gcc warning about missing prototype for start_cpu_itimer().

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2023-07-03 18:14:39 +02:00
parent 954b41be64
commit 147e17e297
2 changed files with 1 additions and 2 deletions

View File

@ -295,6 +295,7 @@ extern unsigned int toc_handler_csum;
extern void do_cpu_irq_mask(struct pt_regs *);
extern irqreturn_t timer_interrupt(int, void *);
extern irqreturn_t ipi_interrupt(int, void *);
extern void start_cpu_itimer(void);
/* called from assembly code: */
extern void start_parisc(void);

View File

@ -271,8 +271,6 @@ void arch_send_call_function_single_ipi(int cpu)
static void
smp_cpu_init(int cpunum)
{
extern void start_cpu_itimer(void); /* arch/parisc/kernel/time.c */
/* Set modes and Enable floating point coprocessor */
init_per_cpu(cpunum);