direct-io.hg

changeset 3787:13fe6a361bc3

bitkeeper revision 1.1179 (420c8b725LGvAqm86f8YBLnAnaHPvQ)

Fixup the fixup code a little.

Signed-off-by: sos22@cl.cam.ac.uk.
author sos22@douglas.cl.cam.ac.uk
date Fri Feb 11 10:39:46 2005 +0000 (2005-02-11)
parents 87ebc14decdb
children dbf3fa962906
files xen/arch/x86/cdb.c
line diff
     1.1 --- a/xen/arch/x86/cdb.c	Fri Feb 11 10:24:12 2005 +0000
     1.2 +++ b/xen/arch/x86/cdb.c	Fri Feb 11 10:39:46 2005 +0000
     1.3 @@ -38,9 +38,13 @@ dbg_copy_from_user(void *dest, const voi
     1.4  	__asm__ __volatile__(
     1.5  		"1:	rep; movsb\n"
     1.6  		"2:\n"
     1.7 +		".section .fixup,\"ax\"\n"
     1.8 +		"3:     addl $4, %%esp\n"
     1.9 +		"       jmp 2b\n"
    1.10 +		".previous\n"
    1.11  		".section __pre_ex_table,\"a\"\n"
    1.12  		"	.align 4\n"
    1.13 -		"	.long 1b,2b\n"
    1.14 +		"	.long 1b,3b\n"
    1.15  		".previous\n"
    1.16  		".section __ex_table,\"a\"\n"
    1.17  		"	.align 4\n"