Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53946
b: refs/heads/master
c: c41bf8f
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kiszka authored and Andi Kleen committed May 2, 2007
1 parent 81dfbfd commit eb69b29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02b64dab5675bc08048c7f70cbb0d8a417d20dbe
refs/heads/master: c41bf8fa5e777b6a8a19cf2484937a7167eac77f
11 changes: 6 additions & 5 deletions trunk/include/asm-i386/i387.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ static inline void __save_init_fpu( struct task_struct *tsk )
task_thread_info(tsk)->status &= ~TS_USEDFPU;
}

#define __unlazy_fpu( tsk ) do { \
if (task_thread_info(tsk)->status & TS_USEDFPU) \
save_init_fpu( tsk ); \
else \
tsk->fpu_counter = 0; \
#define __unlazy_fpu( tsk ) do { \
if (task_thread_info(tsk)->status & TS_USEDFPU) { \
__save_init_fpu(tsk); \
stts(); \
} else \
tsk->fpu_counter = 0; \
} while (0)

#define __clear_fpu( tsk ) \
Expand Down

0 comments on commit eb69b29

Please sign in to comment.