Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PARISC] Fix parisc compile failure after smp: Add task_struct argument to __cpu_up()

commit 8239c25f47d2b318156993b15f33900a86ea5e17 added an argument to our
__cpu_up() function, but didn't notice we have an extra definition for
this in asm/smp.h resulting in a compile failure.

Fix by removing the extraneous parisc definition of __cpu_up(). While
we're at it, remove the duplicated definition of smp_send_reschedule().

Signed-off-by: James Bottomley <JBottomley@Parallels.com>

authored by

James Bottomley and committed by
James Bottomley
8275b91a 2f649c1f

-2
-2
arch/parisc/include/asm/smp.h
··· 25 25 #define cpu_number_map(cpu) (cpu) 26 26 #define cpu_logical_map(cpu) (cpu) 27 27 28 - extern void smp_send_reschedule(int cpu); 29 28 extern void smp_send_all_nop(void); 30 29 31 30 extern void arch_send_call_function_single_ipi(int cpu); ··· 49 50 while(1) 50 51 ; 51 52 } 52 - extern int __cpu_up (unsigned int cpu); 53 53 54 54 #endif /* __ASM_SMP_H */