Skip to content

Commit 0eda954

Browse files
committed
cpuio.h: fix a comment
ci_cpuid is MD hardware ID like x86 apic ID. it can be different from what cpuio.h api actually uses.
1 parent b7b8e38 commit 0eda954

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sys/sys/cpuio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: cpuio.h,v 1.10 2022/07/10 09:59:22 riastradh Exp $ */
1+
/* $NetBSD: cpuio.h,v 1.11 2026/03/17 06:46:49 yamt Exp $ */
22

33
/*-
44
* Copyright (c) 2007, 2009, 2012 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
4646
* are better returned via autoconf.
4747
*/
4848
typedef struct cpustate {
49-
u_int cs_id; /* matching ci_cpuid */
49+
u_int cs_id; /* matching cpu_index() */
5050
uint8_t cs_online; /* running unbound LWPs */
5151
uint8_t cs_intr; /* fielding interrupts */
5252
uint8_t cs_unused[2]; /* reserved */

0 commit comments

Comments
 (0)