summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/una_asm.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-04 23:23:56 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-04 23:23:56 -0800
commit4d000d5b9689734006d89fe9b7597c758b74a9fb (patch)
tree1336c7805645b29eec0617b4554e5e0b37222123 /arch/sparc64/kernel/una_asm.S
parent501f74f29498543c27f4f9697f5c1e980dd2de0d (diff)
downloadlinux-stable-4d000d5b9689734006d89fe9b7597c758b74a9fb.tar.gz
linux-stable-4d000d5b9689734006d89fe9b7597c758b74a9fb.tar.bz2
linux-stable-4d000d5b9689734006d89fe9b7597c758b74a9fb.zip
[SPARC64]: Mark __ex_table section correctly.
We must use the "a" (allocate) attribute every time we emit an entry into the __ex_table section. For consistency, use "a" instead of #alloc which is some Solaris compat cruft GNU as provides on Sparc. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/una_asm.S')
-rw-r--r--arch/sparc64/kernel/una_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/una_asm.S b/arch/sparc64/kernel/una_asm.S
index 1f5b5b708ce7..be183fe41443 100644
--- a/arch/sparc64/kernel/una_asm.S
+++ b/arch/sparc64/kernel/una_asm.S
@@ -47,7 +47,7 @@ __do_int_store:
mov 0, %o0
.size __do_int_store, .-__do_int_store
- .section __ex_table
+ .section __ex_table,"a"
.word 4b, __retl_efault
.word 5b, __retl_efault
.word 6b, __retl_efault
@@ -129,7 +129,7 @@ do_int_load:
mov 0, %o0
.size __do_int_load, .-__do_int_load
- .section __ex_table
+ .section __ex_table,"a"
.word 4b, __retl_efault
.word 5b, __retl_efault
.word 6b, __retl_efault