|
@@ -28,6 +28,7 @@
|
|
|
#include <linux/linkage.h>
|
|
|
#include <asm/dwarf2.h>
|
|
|
#include <asm/errno.h>
|
|
|
+#include <asm/asm.h>
|
|
|
|
|
|
/*
|
|
|
* computes a partial checksum, e.g. for TCP/UDP fragments
|
|
@@ -282,15 +283,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)
|
|
|
|
|
|
#ifndef CONFIG_X86_USE_PPRO_CHECKSUM
|
|
|
|