summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/cpu.c b/sys/arch/amd64/amd64/cpu.c
index 81118e1..b9a4cfe 100644
--- a/sys/arch/amd64/amd64/cpu.c
+++ b/sys/arch/amd64/amd64/cpu.c
@@ -33,7 +33,8 @@
__KERNEL_META("$Hyra$: cpu.c, Ian Marco Moffett, "
"AMD64 CPU abstraction module");
-static struct cpu_info bsp_info;
+/* XXX: Must be zero'd!! */
+static struct cpu_info bsp_info = {0};
struct cpu_info *
amd64_get_bsp(void)