diff options
author | David S. Miller <davem@davemloft.net> | 2009-01-09 01:47:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-09 01:47:17 +0100 |
commit | a638f25ab04bcb8fd3012b0d4a2fe7dab329f82c (patch) | |
tree | 0df529ad76d774496f4729b6e871715ae27b1610 /arch/sparc | |
parent | sparc: Update 32-bit defconfig. (diff) | |
download | linux-a638f25ab04bcb8fd3012b0d4a2fe7dab329f82c.tar.xz linux-a638f25ab04bcb8fd3012b0d4a2fe7dab329f82c.zip |
sparc: Fix sun4d_irq.c build.
Reported by Robert Reif.
Fallout from 'swap' changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-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); #define SMP_PRINTK(x) #endif -static inline unsigned long swap(volatile unsigned long *ptr, unsigned long val) +static inline unsigned long sun4d_swap(volatile unsigned long *ptr, unsigned long val) { __asm__ __volatile__("swap [%1], %0\n\t" : "=&r" (val), "=&r" (ptr) : @@ -115,7 +115,7 @@ void __cpuinit smp4d_callin(void) local_flush_tlb_all(); /* Allow master to continue. */ - swap((unsigned long *)&cpu_callin_map[cpuid], 1); + sun4d_swap((unsigned long *)&cpu_callin_map[cpuid], 1); local_flush_cache_all(); local_flush_tlb_all(); |