sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
[firefly-linux-kernel-4.4.55.git] / arch / sparc / lib / NG2copy_from_user.S
index 4d47fa5519d4f4e1977456b1cfa1f9997c0a7abe..b79a6998d87c82eaeb12f5c1c23ab8fcbc8b10de 100644 (file)
@@ -3,19 +3,19 @@
  * Copyright (C) 2007 David S. Miller (davem@davemloft.net)
  */
 
-#define EX_LD(x)               \
+#define EX_LD(x,y)             \
 98:    x;                      \
        .section __ex_table,"a";\
        .align 4;               \
-       .word 98b, __retl_mone_asi;\
+       .word 98b, y;           \
        .text;                  \
        .align 4;
 
-#define EX_LD_FP(x)            \
+#define EX_LD_FP(x,y)          \
 98:    x;                      \
        .section __ex_table,"a";\
        .align 4;               \
-       .word 98b, __retl_mone_asi_fp;\
+       .word 98b, y##_fp;      \
        .text;                  \
        .align 4;