Re: Probing for physical number of cpus.

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-10-28 22:43:50
Roy Dragseth <Roy.Dragseth@cc.uit.no> writes:

> Do anyone know how to figure out the physical number of cpus in an ia64 
> system?  No, /proc/cpuinfo wont do because the kernel is booted with 
> maxcpus=1.

Read and parse the ACPI tables off of /dev/mem, starting with the address
from /sys/firmware/efi/systab.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Oct 28 22:45:45 2005

This archive was generated by hypermail 2.1.8 : 2005-10-28 22:45:52 EST