sysfs cpu entry
Kumar Gala
galak at kernel.crashing.org
Fri Apr 25 13:36:59 EST 2008
On Apr 24, 2008, at 11:08 PM, Kevin Diggs wrote:
> Hi,
>
> Can someone suggest where to add the code for a cpu
> (/sys/devices/system/cpu/cpu0) entry in sysfs?
>
> The 2.6.24 release has a sysfs.c file but it only seems to be used
> for 64-bit? Anyone know why? What kind of planetary disasters will I
> create if I allow it to be used in 32-bit as well?
>
> kevin
There's no huge harm just make sure that you fixup things to only
expose registers that exist on a 32-bit part.
What 32-bit chip are you looking to enable this for?
- k
More information about the Linuxppc-dev
mailing list