Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 53792
Collapse All | Expand All

(-)a/include/asm-i386/i387.h (-1 / +1 lines)
Lines 51-57 Link Here
51
#define __clear_fpu( tsk )					\
51
#define __clear_fpu( tsk )					\
52
do {								\
52
do {								\
53
	if ((tsk)->thread_info->status & TS_USEDFPU) {		\
53
	if ((tsk)->thread_info->status & TS_USEDFPU) {		\
54
		asm volatile("fwait");				\
54
		asm volatile("fnclex ; fwait");				\
55
		(tsk)->thread_info->status &= ~TS_USEDFPU;	\
55
		(tsk)->thread_info->status &= ~TS_USEDFPU;	\
56
		stts();						\
56
		stts();						\
57
	}							\
57
	}							\

Return to bug 53792