[PATCH] x86_64: Create per CPU machine check sysfs directories
authorAndi Kleen <ak@suse.de>
Fri, 29 Jul 2005 04:15:39 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 04:46:00 +0000 (21:46 -0700)
commit91c6d400940e97f2809c04fcf383517f7650dbd4
tree15eb8b6b3d05e06ab33a125bf2cf7c5081d6848a
parent69cb62eb6dceb0da701e04395d3b412a0648c118
[PATCH] x86_64: Create per CPU machine check sysfs directories

This patch will create machinecheck sysdev directories per CPU.  All of the
cpus still share the same ctl banks.  When compiled with CONFIG_HOTPLUG_CPU,
it will also bring up/down sysdev directories as cpus go up/down.  I have
tested the patch along with CONFIG_HOTPLUG_CPU option on in 2.6.13-rc1 kernel.

Minor changes by AK: remove useless unload function

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/mce.c