diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-02-15 08:05:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-02-15 08:05:18 -0800 |
commit | c38e23456278e967f094b08247ffc3711b1029b2 (patch) | |
tree | ecd87e1fcd9c4e397d531081e45718cae132f7c1 /arch/x86/kernel/xsave.c | |
parent | 7ada1dd62804ca9ce1cb8666c6e563cd92fa50c1 (diff) | |
download | op-kernel-dev-c38e23456278e967f094b08247ffc3711b1029b2.zip op-kernel-dev-c38e23456278e967f094b08247ffc3711b1029b2.tar.gz |
i387: fix sense of sanity check
The check for save_init_fpu() (introduced in commit 5b1cbac37798: "i387:
make irq_fpu_usable() tests more robust") was the wrong way around, but
I hadn't noticed, because my "tests" were bogus: the FPU exceptions are
disabled by default, so even doing a divide by zero never actually
triggers this code at all unless you do extra work to enable them.
So if anybody did enable them, they'd get one spurious warning.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/xsave.c')
0 files changed, 0 insertions, 0 deletions