aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/fpu.c
diff options
context:
space:
mode:
authorMarvin Borner2020-10-26 16:36:40 +0100
committerMarvin Borner2020-10-26 16:36:40 +0100
commit197ea3ca20879b29fca41a07cf43e5b04b9c5083 (patch)
treec0e0223e289bde3af7cca995f98d681779bfda26 /kernel/drivers/fpu.c
parent4ae48304b2290b6c835eb3d937bd5e905ce0e5d4 (diff)
Optimizations
Diffstat (limited to 'kernel/drivers/fpu.c')
-rw-r--r--kernel/drivers/fpu.c2
1 files changed, 1 insertions, 1 deletions
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);