summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSuresh Siddha2008-04-16 10:27:53 +0200
committerIngo Molnar2008-04-19 19:19:55 +0200
commit1679f2710ac58df580d3716fab1f42ae50a226eb (patch)
treeb7ac7e16814d0039a963ab2ee35d7850e9e347a1 /include
parentx86, fpu: lazy allocation of FPU area - v5 (diff)
downloadkernel-qcow2-linux-1679f2710ac58df580d3716fab1f42ae50a226eb.tar.gz
kernel-qcow2-linux-1679f2710ac58df580d3716fab1f42ae50a226eb.tar.xz
kernel-qcow2-linux-1679f2710ac58df580d3716fab1f42ae50a226eb.zip
x86: fpu xstate split cleanup
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/i387.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/i387.h b/include/asm-x86/i387.h
index 4be7b58b1e16..da2adb45f6e3 100644
--- a/include/asm-x86/i387.h
+++ b/include/asm-x86/i387.h
@@ -328,7 +328,7 @@ static inline unsigned short get_fpu_cwd(struct task_struct *tsk)
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.cwd;
} else {
- return (unsigned short) tsk->thread.xstate->fsave.cwd;
+ return (unsigned short)tsk->thread.xstate->fsave.cwd;
}
}
@@ -337,7 +337,7 @@ static inline unsigned short get_fpu_swd(struct task_struct *tsk)
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.swd;
} else {
- return (unsigned short) tsk->thread.xstate->fsave.swd;
+ return (unsigned short)tsk->thread.xstate->fsave.swd;
}
}