From f5f8862a7a39d920325cae53e0f07a4a0d0d7714 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 28 Nov 2009 15:29:28 +0100 Subject: Panic when no FPU is available * i386/i386/fpu.c (init_fpu): Panic if no FPU is available. --- i386/i386/fpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'i386') diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c index 5e507e9..6ff35a0 100644 --- a/i386/i386/fpu.c +++ b/i386/i386/fpu.c @@ -141,8 +141,7 @@ init_fpu() /* * NO FPU. */ - fp_kind = FP_NO; - set_cr0(get_cr0() | CR0_EM); + panic("No FPU!"); } } -- cgit v1.2.3