Переглянути джерело

[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>
James Bottomley 13 роки тому
батько
коміт
8275b91aad
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      arch/parisc/include/asm/smp.h

+ 0 - 2
arch/parisc/include/asm/smp.h

@@ -25,7 +25,6 @@ typedef unsigned long address_t;
 #define cpu_number_map(cpu)	(cpu)
 #define cpu_logical_map(cpu)	(cpu)
 
-extern void smp_send_reschedule(int cpu);
 extern void smp_send_all_nop(void);
 
 extern void arch_send_call_function_single_ipi(int cpu);
@@ -50,6 +49,5 @@ static inline void __cpu_die (unsigned int cpu) {
   while(1)
     ;
 }
-extern int __cpu_up (unsigned int cpu);
 
 #endif /*  __ASM_SMP_H */