Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30473
b: refs/heads/master
c: 4d9bc79
h: refs/heads/master
i:
  30471: aec1974
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jun 26, 2006
1 parent da9925f commit e754c83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 26a3c49cec96ffb9cfcc30dfa0cd05ccc25dcb3a
refs/heads/master: 4d9bc79cd28b779610d9590b3a96a28a0f64a25a
5 changes: 4 additions & 1 deletion trunk/arch/x86_64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,11 @@ void flush_thread(void)
struct task_struct *tsk = current;
struct thread_info *t = current_thread_info();

if (t->flags & _TIF_ABI_PENDING)
if (t->flags & _TIF_ABI_PENDING) {
t->flags ^= (_TIF_ABI_PENDING | _TIF_IA32);
if (t->flags & _TIF_IA32)
current_thread_info()->status |= TS_COMPAT;
}

tsk->thread.debugreg0 = 0;
tsk->thread.debugreg1 = 0;
Expand Down

0 comments on commit e754c83

Please sign in to comment.