summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2005-10-30 22:59:50 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 01:37:14 (GMT)
commit1aa1a9f98ffd06e288be4d85ed814c6cdbccce82 (patch)
tree3b387855f4e8415cfd83bf54a2900f2a43127b73 /drivers
parentad74557a49d1dea428fb0ad60e75a5aa37610e1d (diff)
downloadlinux-1aa1a9f98ffd06e288be4d85ed814c6cdbccce82.tar.xz
[PATCH] create and destroy cache sysfs entries based on cpu notifiers
cpu cache entries should be populated only when cpu is online and removed when they are logically offlined. Without which entries are not removed when cpu is offlined, or dont appear when we boot with maxcpus=1 and then kick the rest of the cpus via echo 1 to the sysfs online file. - Changed __devinit to __cpuinit for consistency. - Changed sysfs_driver_register to register_cpu_notifier. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Zwane Mwaikambo <zwane@holomorphy.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions