ia64/xen-unstable

changeset 2016:eca179b92d4d

bitkeeper revision 1.1108.46.1 (410cf9dfstlSCa_bUdWkb4grJVzBxg)

PF_USEDFPU -> TS_USEDFPU
author cl349@freefall.cl.cam.ac.uk
date Sun Aug 01 14:10:39 2004 +0000 (2004-08-01)
parents cabecfa924ab
children c48edf8434c7
files linux-2.6.7-xen-sparse/include/asm-xen/asm-i386/xor.h
line diff
     1.1 --- a/linux-2.6.7-xen-sparse/include/asm-xen/asm-i386/xor.h	Sat Jul 31 16:13:15 2004 +0000
     1.2 +++ b/linux-2.6.7-xen-sparse/include/asm-xen/asm-i386/xor.h	Sun Aug 01 14:10:39 2004 +0000
     1.3 @@ -535,7 +535,7 @@ static struct xor_block_template xor_blo
     1.4  
     1.5  #define XMMS_SAVE do {				\
     1.6  	preempt_disable();			\
     1.7 -	if (!(current->flags & PF_USEDFPU))	\
     1.8 +	if (!(current_thread_info()->status & TS_USEDFPU))	\
     1.9  		clts();				\
    1.10  	__asm__ __volatile__ ( 			\
    1.11  		"movups %%xmm0,(%1)	;\n\t"	\
    1.12 @@ -557,7 +557,7 @@ static struct xor_block_template xor_blo
    1.13  		:				\
    1.14  		: "r" (cr0), "r" (xmm_save)	\
    1.15  		: "memory");			\
    1.16 -	if (!(current->flags & PF_USEDFPU))	\
    1.17 +	if (!(current_thread_info()->status & TS_USEDFPU))	\
    1.18  		stts();				\
    1.19  	preempt_enable();			\
    1.20  } while(0)