Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158714
b: refs/heads/master
c: 16d9dbf
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Jun 17, 2009
1 parent 4f0364b commit 2ba4d5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2fcddce10f6771cfa0c56fd1e826d50d67d100b7
refs/heads/master: 16d9dbf0c2bd167fdd942b83592d59696c7b73bd
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)

load_TLS(next, cpu);

/* Must be after DS reload */
unlazy_fpu(prev_p);

/*
* Leave lazy mode, flushing any hypercalls made here.
* This must be done before restoring TLS segments so
Expand Down Expand Up @@ -459,9 +462,6 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
wrmsrl(MSR_KERNEL_GS_BASE, next->gs);
prev->gsindex = gsindex;

/* Must be after DS reload */
unlazy_fpu(prev_p);

/*
* Switch the PDA and FPU contexts.
*/
Expand Down

0 comments on commit 2ba4d5f

Please sign in to comment.