From 197ea3ca20879b29fca41a07cf43e5b04b9c5083 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 26 Oct 2020 16:36:40 +0100 Subject: Optimizations --- kernel/drivers/fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/drivers/fpu.c') diff --git a/kernel/drivers/fpu.c b/kernel/drivers/fpu.c index d8a2b79..f7eeceb 100644 --- a/kernel/drivers/fpu.c +++ b/kernel/drivers/fpu.c @@ -10,7 +10,7 @@ void set_fpu_cw(const u16 cw) void fpu_install() { __asm__ volatile("clts"); - u32 t; + u32 t = 0; __asm__ volatile("mov %%cr0, %0" : "=r"(t)); t &= ~(1 << 2); t |= (1 << 1); -- cgit v1.2.3