ia64/xen-unstable

changeset 16021:df985cc06100

[IA64] Remove warnings.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Tue Oct 02 09:58:09 2007 -0600 (2007-10-02)
parents 9f2b83a34453
children c95959a0cf9c
files xen/arch/ia64/linux-xen/head.S xen/arch/ia64/linux-xen/process-linux-xen.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/head.S	Tue Oct 02 09:31:45 2007 -0600
     1.2 +++ b/xen/arch/ia64/linux-xen/head.S	Tue Oct 02 09:58:09 2007 -0600
     1.3 @@ -1210,6 +1210,9 @@ tlb_purge_done:
     1.4  	RESTORE_REG(cr.dcr, r25, r17);;
     1.5  	RESTORE_REG(cr.iva, r25, r17);;
     1.6  	RESTORE_REG(cr.pta, r25, r17);;
     1.7 +#ifdef XEN
     1.8 +	dv_serialize_instruction
     1.9 +#endif
    1.10  	RESTORE_REG(cr.itv, r25, r17);;
    1.11  	RESTORE_REG(cr.pmv, r25, r17);;
    1.12  	RESTORE_REG(cr.cmcv, r25, r17);;
     2.1 --- a/xen/arch/ia64/linux-xen/process-linux-xen.c	Tue Oct 02 09:31:45 2007 -0600
     2.2 +++ b/xen/arch/ia64/linux-xen/process-linux-xen.c	Tue Oct 02 09:58:09 2007 -0600
     2.3 @@ -569,10 +569,14 @@ do_copy_task_regs (struct task_struct *t
     2.4  
     2.5  	if (ia64_sync_user_rbs(task, info->sw, pt->ar_bspstore, urbs_end) < 0)
     2.6  		return;
     2.7 -#endif /* !XEN */
     2.8  
     2.9  	ia64_peek(task, info->sw, urbs_end, (long) ia64_rse_rnat_addr((long *) urbs_end),
    2.10  		  &ar_rnat);
    2.11 +#else
    2.12 +
    2.13 +	ia64_peek(task, info->sw, urbs_end, (long) ia64_rse_rnat_addr((u64 *) urbs_end),
    2.14 +		  (long *)&ar_rnat);
    2.15 +#endif
    2.16  
    2.17  	/*
    2.18  	 * coredump format: