From: Christian Krafft Date: Tue, 24 Oct 2006 16:31:24 +0000 (+0200) Subject: [POWERPC] sysfs: add support for adding/removing spu sysfs attributes X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0344c6c5387ba335bba5a66fd44714b94c98573f;p=pandora-kernel.git [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: Christian Krafft Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed