[PATCH] show -1 for physical_id of non-present cpus

Olof Johansson olof at austin.ibm.com
Wed Jan 26 15:11:43 EST 2005


Nathan Lynch wrote:

>Make the physical_id cpu attribute on ppc64 show -1 instead of 65535
>for non-present cpus.
>

Good catch.

I'm not sure if I prefer your patch or just switching hw_cpu_id to a s16 
and using %d. Either way is fine with me.


-Olof



More information about the Linuxppc64-dev mailing list