From 0ae734b516f9975fd3ebfddd3748a028456668b6 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sat, 13 Jun 2009 10:56:21 +0800 Subject: [PATCH] Correct mptable_pass[12]() function comment --- sys/platform/pc32/i386/mp_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/platform/pc32/i386/mp_machdep.c b/sys/platform/pc32/i386/mp_machdep.c index 8568f15efd..75aebedea9 100644 --- a/sys/platform/pc32/i386/mp_machdep.c +++ b/sys/platform/pc32/i386/mp_machdep.c @@ -699,9 +699,6 @@ static int lookup_bus_type (char *name); /* * 1st pass on motherboard's Intel MP specification table. * - * initializes: - * ncpus = 1 - * * determines: * cpu_apic_address (common to all CPUs) * io_apic_address[N] @@ -709,6 +706,8 @@ static int lookup_bus_type (char *name); * mp_nbusses * mp_napics * nintrs + * need_hyperthreading_fixup + * logical_cpus */ static void mptable_pass1(struct mptable_pos *mpt) @@ -832,6 +831,7 @@ mptable_pass1(struct mptable_pos *mpt) * * sets: * boot_cpu_id + * logical_cpus_mask * ID_TO_IO(N), phy APIC ID to log CPU/IO table * CPU_TO_ID(N), logical CPU to APIC ID table * IO_TO_ID(N), logical IO to APIC ID table -- 2.41.0