Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99957
b: refs/heads/master
c: 3fe0a63
h: refs/heads/master
i:
  99955: 658d16d
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 8, 2008
1 parent bed0d59 commit 3b1d9a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0814e0bace537b7024b09187346b99401e6281be
refs/heads/master: 3fe0a63efd4437f6438ce5f2708929b1108873b6
9 changes: 9 additions & 0 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,15 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)

load_TLS(next, cpu);

/*
* Leave lazy mode, flushing any hypercalls made here.
* This must be done before restoring TLS segments so
* the GDT and LDT are properly updated, and must be
* done before math_state_restore, so the TS bit is up
* to date.
*/
arch_leave_lazy_cpu_mode();

/*
* Switch FS and GS.
*/
Expand Down

0 comments on commit 3b1d9a9

Please sign in to comment.