summaryrefslogtreecommitdiffstats
path: root/arch/i386/lib
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-09-12 01:29:55 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-09-12 01:29:55 +0000
commit545f435ebcfd94a1e7c20b46efe81b4d6ac4e698 (patch)
treee9ce4bc598d06374bda906f18365984bf22a526a /arch/i386/lib
parent4291a610eef89d0d5c69d9a10ee6560e1aa36c74 (diff)
Merge with Linux 2.1.55. More bugfixes and goodies from my private
CVS archive.
Diffstat (limited to 'arch/i386/lib')
-rw-r--r--arch/i386/lib/checksum.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/i386/lib/checksum.c b/arch/i386/lib/checksum.c
index 4a0f82440..2293a6c5e 100644
--- a/arch/i386/lib/checksum.c
+++ b/arch/i386/lib/checksum.c
@@ -111,13 +111,13 @@ unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum)
#define SRC(y...) \
" 9999: "#y"; \n \
.section __ex_table, \"a\"; \n \
- .long 9999b, src_access_fault \n \
+ .long 9999b, 6001f \n \
.previous"
#define DST(y...) \
" 9999: "#y"; \n \
.section __ex_table, \"a\"; \n \
- .long 9999b, dst_access_fault \n \
+ .long 9999b, 6002f \n \
.previous"
unsigned int csum_partial_copy_generic (const char *src, char *dst,
@@ -203,28 +203,28 @@ unsigned int csum_partial_copy_generic (const char *src, char *dst,
adcl $0, %%eax
7:
-end_of_body:
+5000:
# Exception handler:
################################################
#
.section .fixup, \"a\" #
#
-common_fixup: #
+6000: #
#
movl %7, (%%ebx) #
#
# FIXME: do zeroing of rest of the buffer here. #
#
- jmp end_of_body #
+ jmp 5000b #
#
-src_access_fault: #
+6001: #
movl %1, %%ebx #
- jmp common_fixup #
+ jmp 6000b #
#
-dst_access_fault: #
+6002: #
movl %2, %%ebx #
- jmp common_fixup #
+ jmp 6000b #
#
.previous #
#