diff options
Diffstat (limited to 'arch/sparc/kernel/sun4d_smp.c')
| -rw-r--r-- | arch/sparc/kernel/sun4d_smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c index 16ab0cb731c5..50afaed99c8a 100644 --- a/arch/sparc/kernel/sun4d_smp.c +++ b/arch/sparc/kernel/sun4d_smp.c | |||
| @@ -60,7 +60,7 @@ extern int __smp4d_processor_id(void); | |||
| 60 | #define SMP_PRINTK(x) | 60 | #define SMP_PRINTK(x) |
| 61 | #endif | 61 | #endif |
| 62 | 62 | ||
| 63 | static inline unsigned long swap(volatile unsigned long *ptr, unsigned long val) | 63 | static inline unsigned long sun4d_swap(volatile unsigned long *ptr, unsigned long val) |
| 64 | { | 64 | { |
| 65 | __asm__ __volatile__("swap [%1], %0\n\t" : | 65 | __asm__ __volatile__("swap [%1], %0\n\t" : |
| 66 | "=&r" (val), "=&r" (ptr) : | 66 | "=&r" (val), "=&r" (ptr) : |
| @@ -115,7 +115,7 @@ void __cpuinit smp4d_callin(void) | |||
| 115 | local_flush_tlb_all(); | 115 | local_flush_tlb_all(); |
| 116 | 116 | ||
| 117 | /* Allow master to continue. */ | 117 | /* Allow master to continue. */ |
| 118 | swap((unsigned long *)&cpu_callin_map[cpuid], 1); | 118 | sun4d_swap((unsigned long *)&cpu_callin_map[cpuid], 1); |
| 119 | local_flush_cache_all(); | 119 | local_flush_cache_all(); |
| 120 | local_flush_tlb_all(); | 120 | local_flush_tlb_all(); |
| 121 | 121 | ||
