summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/M7copy_to_user.S
diff options
context:
space:
mode:
authorBabu Moger <babu.moger@oracle.com>2017-08-07 17:52:52 -0600
committerDavid S. Miller <davem@davemloft.net>2017-08-10 14:59:04 -0700
commit34060b8fffa76ded52d9e115d6b759b0456114ee (patch)
tree252bf2b8dc79a6a9b6a6d0b4d3d17953b0a73111 /arch/sparc/lib/M7copy_to_user.S
parentb3a04ed507bf5b85e9eae521f5c6ca1d1bc6a4f2 (diff)
arch/sparc: Add accurate exception reporting in M7memcpy
Add accurate exception reporting in M7memcpy Signed-off-by: Babu Moger <babu.moger@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/M7copy_to_user.S')
-rw-r--r--arch/sparc/lib/M7copy_to_user.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc/lib/M7copy_to_user.S b/arch/sparc/lib/M7copy_to_user.S
index d3be1327d7ce..a60ac467f808 100644
--- a/arch/sparc/lib/M7copy_to_user.S
+++ b/arch/sparc/lib/M7copy_to_user.S
@@ -5,19 +5,19 @@
*/
-#define EX_ST(x) \
+#define EX_ST(x, y) \
98: x; \
.section __ex_table,"a"; \
.align 4; \
- .word 98b, __restore_asi; \
+ .word 98b, y; \
.text; \
.align 4;
-#define EX_ST_FP(x) \
+#define EX_ST_FP(x, y) \
98: x; \
.section __ex_table,"a"; \
.align 4; \
- .word 98b, __restore_asi_fp; \
+ .word 98b, y##_fp; \
.text; \
.align 4;
@@ -45,7 +45,7 @@
rd %asi, %g1; \
cmp %g1, ASI_AIUS; \
bne,pn %icc, raw_copy_in_user; \
- nop
+ nop
#endif
#include "M7memcpy.S"