x86, extable: Remove open-coded exception table entries in arch/x86/um/checksum_32.S
[firefly-linux-kernel-4.4.55.git] / arch / x86 / um / checksum_32.S
index f058d2f82e189b0bea284da767766ed1ba20a781..8d0c420465cce0cf897278e03f25904a51cd92ff 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <asm/errno.h>
+#include <asm/asm.h>
                                
 /*
  * computes a partial checksum, e.g. for TCP/UDP fragments
@@ -232,15 +233,11 @@ unsigned int csum_partial_copy_generic (const char *src, char *dst,
 
 #define SRC(y...)                      \
        9999: y;                        \
-       .section __ex_table, "a";       \
-       .long 9999b, 6001f      ;       \
-       .previous
+       _ASM_EXTABLE(9999b, 6001f)
 
 #define DST(y...)                      \
        9999: y;                        \
-       .section __ex_table, "a";       \
-       .long 9999b, 6002f      ;       \
-       .previous
+       _ASM_EXTABLE(9999b, 6002f)
 
 .align 4