aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-02 23:12:55 -0400
committerIan Moffett <ian@osmora.org>2024-07-02 23:12:55 -0400
commit077074920685a5f2da0cb78198cb5f2d1873d239 (patch)
tree85cb55d1c327aebc59d1394aef1e5d6702af44ab /sys
parentc34fd952a56bdfc137b65169512f8eb7f7e3a8ad (diff)
kernel/amd64: machdep: Fix mistake in comment
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 528326a..7099cd2 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -99,7 +99,7 @@ this_cpu(void)
/*
* This might look crazy but we are just leveraging the "m"
- * constraint to calculate the offset of the self field within
+ * constraint to add the offset of the self field within
* cpu_info. The self field points to the cpu_info structure
* itself allowing us to access cpu_info through %gs.
*/