diff options
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r-- | arch/sparc64/kernel/smp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index fa63c68a1819..b82d017a1744 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -816,8 +816,9 @@ extern unsigned long xcall_call_function; | |||
816 | * You must not call this function with disabled interrupts or from a | 816 | * You must not call this function with disabled interrupts or from a |
817 | * hardware interrupt handler or from a bottom half handler. | 817 | * hardware interrupt handler or from a bottom half handler. |
818 | */ | 818 | */ |
819 | static int smp_call_function_mask(void (*func)(void *info), void *info, | 819 | static int sparc64_smp_call_function_mask(void (*func)(void *info), void *info, |
820 | int nonatomic, int wait, cpumask_t mask) | 820 | int nonatomic, int wait, |
821 | cpumask_t mask) | ||
821 | { | 822 | { |
822 | struct call_data_struct data; | 823 | struct call_data_struct data; |
823 | int cpus; | 824 | int cpus; |
@@ -855,8 +856,8 @@ out_unlock: | |||
855 | int smp_call_function(void (*func)(void *info), void *info, | 856 | int smp_call_function(void (*func)(void *info), void *info, |
856 | int nonatomic, int wait) | 857 | int nonatomic, int wait) |
857 | { | 858 | { |
858 | return smp_call_function_mask(func, info, nonatomic, wait, | 859 | return sparc64_smp_call_function_mask(func, info, nonatomic, wait, |
859 | cpu_online_map); | 860 | cpu_online_map); |
860 | } | 861 | } |
861 | 862 | ||
862 | void smp_call_function_client(int irq, struct pt_regs *regs) | 863 | void smp_call_function_client(int irq, struct pt_regs *regs) |
@@ -893,7 +894,7 @@ static void tsb_sync(void *info) | |||
893 | 894 | ||
894 | void smp_tsb_sync(struct mm_struct *mm) | 895 | void smp_tsb_sync(struct mm_struct *mm) |
895 | { | 896 | { |
896 | smp_call_function_mask(tsb_sync, mm, 0, 1, mm->cpu_vm_mask); | 897 | sparc64_smp_call_function_mask(tsb_sync, mm, 0, 1, mm->cpu_vm_mask); |
897 | } | 898 | } |
898 | 899 | ||
899 | extern unsigned long xcall_flush_tlb_mm; | 900 | extern unsigned long xcall_flush_tlb_mm; |