Skip to content
Commit 0344c6c5 authored by Christian Krafft's avatar Christian Krafft Committed by Paul Mackerras
Browse files

[POWERPC] sysfs: add support for adding/removing spu sysfs attributes



This patch adds two functions to create and remove sysfs attributes and
attribute_group to all cpus.  That allows to register sysfs attributes in
a subdirectory like: /sys/devices/system/cpu/cpuX/group_name/what_ever
This will be used by cbe_thermal to group all attributes dealing with
thermal support in one directory.

Signed-of-by: default avatarChristian Krafft <krafft@de.ibm.com>

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e570beb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment