aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-13 19:00:08 -0400
committerIan Moffett <ian@osmora.org>2024-03-13 19:00:24 -0400
commit5c9366f3e5f7448811e03d4ee5671a3408353e41 (patch)
treeb58d6bc93b0d16626acd081afcc7efa381c1f710 /sys
parent27cd9535664a83e7c9986dc8a1b0e1a80aee1629 (diff)
kernel/amd64: machdep: Fix typo
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index d936912..c24f484 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -171,7 +171,7 @@ processor_init(void)
/* Set %GS to cpu_info */
amd64_write_gs_base((uintptr_t)cur_cpu);
- if (is_sse_supported) {
+ if (is_sse_supported()) {
/* Enable SSE/SSE2 */
reg_tmp = amd64_read_cr0();
reg_tmp &= ~(__BIT(2));