--- a/arch/x86/kernel/i387.c 2008-04-17 11:49:44.000000000 +0900 +++ b/arch/x86/kernel/i387.c 2008-06-30 13:22:57.000000000 +0900 @@ -130,7 +130,7 @@ void *kbuf, void __user *ubuf) { if (!cpu_has_fxsr) - return -ENODEV; + return -EIO; init_fpu(target); @@ -145,7 +145,7 @@ int ret; if (!cpu_has_fxsr) - return -ENODEV; + return -EIO; init_fpu(target); set_stopped_child_used_math(target);