ia64/xen-unstable

changeset 6826:f5ff107742ce

Fix 64-bit build problem. Not allowed to movl between a
segment register and a memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Sep 14 09:20:21 2005 +0000 (2005-09-14)
parents 1936ccaccf5e
children 94990f123e5e
files linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S	Wed Sep 14 09:17:44 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S	Wed Sep 14 09:20:21 2005 +0000
     1.3 @@ -751,10 +751,10 @@ ecrit:  /**** END OF CRITICAL REGION ***
     1.4  # Hypervisor uses this for application faults while it executes.
     1.5  ENTRY(failsafe_callback)
     1.6  	addq $0x10,%rsp /* skip rcx and r11 */	
     1.7 -1:	movl (%rsp),%ds
     1.8 -2:	movl 8(%rsp),%es
     1.9 -3:	movl 16(%rsp),%fs
    1.10 -4:	movl 24(%rsp),%gs
    1.11 +1:	mov  (%rsp),%ds
    1.12 +2:	mov  8(%rsp),%es
    1.13 +3:	mov  16(%rsp),%fs
    1.14 +4:	mov  24(%rsp),%gs
    1.15  	addq $0x20,%rsp /* skip the above selectors */		
    1.16  	SAVE_ALL
    1.17  	jmp  error_exit