diff options
Diffstat (limited to 'arch/mips/include/asm/cmpxchg.h')
-rw-r--r-- | arch/mips/include/asm/cmpxchg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/cmpxchg.h b/arch/mips/include/asm/cmpxchg.h index 4a812c3ceb90..815a438a268d 100644 --- a/arch/mips/include/asm/cmpxchg.h +++ b/arch/mips/include/asm/cmpxchg.h | |||
@@ -16,7 +16,7 @@ | |||
16 | ({ \ | 16 | ({ \ |
17 | __typeof(*(m)) __ret; \ | 17 | __typeof(*(m)) __ret; \ |
18 | \ | 18 | \ |
19 | if (cpu_has_llsc && R10000_LLSC_WAR) { \ | 19 | if (kernel_uses_llsc && R10000_LLSC_WAR) { \ |
20 | __asm__ __volatile__( \ | 20 | __asm__ __volatile__( \ |
21 | " .set push \n" \ | 21 | " .set push \n" \ |
22 | " .set noat \n" \ | 22 | " .set noat \n" \ |
@@ -33,7 +33,7 @@ | |||
33 | : "=&r" (__ret), "=R" (*m) \ | 33 | : "=&r" (__ret), "=R" (*m) \ |
34 | : "R" (*m), "Jr" (old), "Jr" (new) \ | 34 | : "R" (*m), "Jr" (old), "Jr" (new) \ |
35 | : "memory"); \ | 35 | : "memory"); \ |
36 | } else if (cpu_has_llsc) { \ | 36 | } else if (kernel_uses_llsc) { \ |
37 | __asm__ __volatile__( \ | 37 | __asm__ __volatile__( \ |
38 | " .set push \n" \ | 38 | " .set push \n" \ |
39 | " .set noat \n" \ | 39 | " .set noat \n" \ |