ia64/xen-unstable

changeset 6391:e75933e27215

Copy correct number of bytes for xen_start_info in x86_64
head.S.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 24 13:17:12 2005 +0000 (2005-08-24)
parents 603f55eaa690
children bca2fd76995e
files linux-2.6-xen-sparse/arch/xen/x86_64/kernel/head.S linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/head.S	Wed Aug 24 10:48:24 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/head.S	Wed Aug 24 13:17:12 2005 +0000
     1.3 @@ -43,7 +43,7 @@ ENTRY(_start)
     1.4          cld                
     1.5  	/* Copy the necessary stuff from xen_start_info structure. */
     1.6  	movq  $xen_start_info_union,%rdi
     1.7 -	movq  $64,%rcx          /* sizeof (union xen_start_info_union) / sizeof (long) */
     1.8 +	movq  $256,%rcx
     1.9  	rep movsq
    1.10  
    1.11  #ifdef CONFIG_SMP
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Wed Aug 24 10:48:24 2005 +0000
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Wed Aug 24 13:17:12 2005 +0000
     2.3 @@ -639,7 +639,7 @@ static int __init xenbus_probe_init(void
     2.4  	bus_register(&xenbus_backend.bus);
     2.5  	device_register(&xenbus_frontend.dev);
     2.6  	device_register(&xenbus_backend.dev);
     2.7 -	
     2.8 +
     2.9  	if (!xen_start_info.store_evtchn)
    2.10  		return 0;
    2.11