diff options
Diffstat (limited to 'include/asm-arm/locks.h')
-rw-r--r-- | include/asm-arm/locks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/locks.h b/include/asm-arm/locks.h index c26298f3891f..9cb33fcc06c1 100644 --- a/include/asm-arm/locks.h +++ b/include/asm-arm/locks.h | |||
@@ -61,7 +61,7 @@ | |||
61 | " strex ip, lr, [%0]\n" \ | 61 | " strex ip, lr, [%0]\n" \ |
62 | " teq ip, #0\n" \ | 62 | " teq ip, #0\n" \ |
63 | " bne 1b\n" \ | 63 | " bne 1b\n" \ |
64 | " teq lr, #0\n" \ | 64 | " cmp lr, #0\n" \ |
65 | " movle ip, %0\n" \ | 65 | " movle ip, %0\n" \ |
66 | " blle " #wake \ | 66 | " blle " #wake \ |
67 | : \ | 67 | : \ |
@@ -100,7 +100,7 @@ | |||
100 | __asm__ __volatile__( \ | 100 | __asm__ __volatile__( \ |
101 | "@ up_op_read\n" \ | 101 | "@ up_op_read\n" \ |
102 | "1: ldrex lr, [%0]\n" \ | 102 | "1: ldrex lr, [%0]\n" \ |
103 | " add lr, lr, %1\n" \ | 103 | " adds lr, lr, %1\n" \ |
104 | " strex ip, lr, [%0]\n" \ | 104 | " strex ip, lr, [%0]\n" \ |
105 | " teq ip, #0\n" \ | 105 | " teq ip, #0\n" \ |
106 | " bne 1b\n" \ | 106 | " bne 1b\n" \ |