diff options
author | marcel <marcel@FreeBSD.org> | 2003-11-20 16:42:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-11-20 16:42:39 +0000 |
commit | 683673d6409653b406f1a7337f1b370a5c449a4f (patch) | |
tree | c0d7b7d45a63cfe4191763ae726304b40a5a7101 /sys/ia64 | |
parent | 6a2f4748c445fb8d14b96292eb3eebc4b1d7ebf3 (diff) | |
download | FreeBSD-src-683673d6409653b406f1a7337f1b370a5c449a4f.zip FreeBSD-src-683673d6409653b406f1a7337f1b370a5c449a4f.tar.gz |
Set the ACPI processor Id in the PCPU structure so that CPU idling
on SMP systems has a chance of working. This was a loose end of the
implementation of the ACPI Cx idle states. Since our logical CPU Id
is the ACPI processor Id, we do not need to jump through hoops to
obtain it.
Approved: re@ (jhb)
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index 5490e5c..ddde791 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -361,7 +361,7 @@ cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) KASSERT(size >= pcpusz + sizeof(struct pcb), ("%s: too small an allocation for pcpu", __func__)); pcpu->pc_pcb = (struct pcb *)((char*)pcpu + pcpusz); - pcpu->pc_acpi_id = 0xffffffff; + pcpu->pc_acpi_id = cpuid; } void |