summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/spinlock.h')
-rw-r--r--include/asm-alpha/spinlock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-alpha/spinlock.h b/include/asm-alpha/spinlock.h
index 6153b2a86..c14eb0909 100644
--- a/include/asm-alpha/spinlock.h
+++ b/include/asm-alpha/spinlock.h
@@ -78,7 +78,7 @@ static inline void spin_lock(spinlock_t * lock)
" stl_c %0,%1\n"
" beq %0,2f\n"
" mb\n"
- ".section .text2,\"ax\"\n"
+ ".subsection 2\n"
"2: ldl %0,%1\n"
" blbs %0,2b\n"
" br 1b\n"
@@ -114,7 +114,7 @@ static inline void write_lock(rwlock_t * lock)
" stl_c %1,%0\n"
" beq %1,6f\n"
" mb\n"
- ".section .text2,\"ax\"\n"
+ ".subsection 2\n"
"6: ldl %1,%0\n"
" bne %1,6b\n"
" br 1b\n"
@@ -135,7 +135,7 @@ static inline void read_lock(rwlock_t * lock)
" stl_c %1,%0\n"
" beq %1,6f\n"
"4: mb\n"
- ".section .text2,\"ax\"\n"
+ ".subsection 2\n"
"6: ldl %1,%0\n"
" blbs %1,6b\n"
" br 1b\n"
@@ -160,7 +160,7 @@ static inline void read_unlock(rwlock_t * lock)
" addl %1,2,%1\n"
" stl_c %1,%0\n"
" beq %1,6f\n"
- ".section .text2,\"ax\"\n"
+ ".subsection 2\n"
"6: br 1b\n"
".previous"
: "=m" (__dummy_lock(lock)), "=&r" (regx)