ia64/xen-unstable

changeset 7552:07aa5213d811

Add a commented-out sanity check for lazy fpu switching.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Oct 30 09:39:55 2005 +0100 (2005-10-30)
parents eee0489b3a17
children b5903c9aeda5
files linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c	Sat Oct 29 09:51:35 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c	Sun Oct 30 09:39:55 2005 +0100
     1.3 @@ -483,6 +483,9 @@ struct task_struct fastcall * __switch_t
     1.4  		mcl->args[0] = 1;
     1.5  		mcl++;
     1.6  	}
     1.7 +#if 0 /* lazy fpu sanity check */
     1.8 +	else BUG_ON(!(read_cr0() & 8));
     1.9 +#endif
    1.10  
    1.11  	/*
    1.12  	 * Reload esp0, LDT and the page table pointer: