summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/una_asm.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-05 08:23:56 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-05 08:23:56 +0100
commit4d000d5b9689734006d89fe9b7597c758b74a9fb (patch)
tree1336c7805645b29eec0617b4554e5e0b37222123 /arch/sparc64/kernel/una_asm.S
parentMerge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
downloadlinux-4d000d5b9689734006d89fe9b7597c758b74a9fb.tar.xz
linux-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