]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix broken math-emu with lazy allocation of fpu area
authorSuresh Siddha <suresh.b.siddha@intel.com>
Fri, 23 May 2008 23:26:37 +0000 (16:26 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Jun 2008 11:11:46 +0000 (13:11 +0200)
commite8a496ac8cd00cabbdaa373db4818a9ad19a1c5a
tree8792b784e54982decd56a29acb02f63ce62a03ab
parent5c1ea08215f1f830dfaf4819a5f22efca41c3832
x86: fix broken math-emu with lazy allocation of fpu area

Fix the math emulation that got broken with the recent lazy allocation of FPU
area. init_fpu() need to be added for the math-emulation path aswell
for the FPU area allocation.

math emulation enabled kernel booted fine with this, in the presence
of "no387 nofxsr" boot param.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: hpa@zytor.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/i387.c
arch/x86/math-emu/fpu_entry.c
include/asm-x86/i387.h