Skip to content

Commit

Permalink
[PARISC] Fix parisc compile failure after smp: Add task_struct argume…
Browse files Browse the repository at this point in the history
…nt to __cpu_up()

commit 8239c25 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>
  • Loading branch information
James Bottomley authored and James Bottomley committed May 25, 2012
1 parent 2f649c1 commit 8275b91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/parisc/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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 */

0 comments on commit 8275b91

Please sign in to comment.