diff options
author | Jacob Shin <jacob.w.shin@gmail.com> | 2006-06-26 13:58:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 10:48:20 -0700 |
commit | fff2e89f11dd9b9b45e9212bc543154ca3d028a1 (patch) | |
tree | fa25f3e41cf642f23c187a2fb13c0595eba825bc /arch/x86_64/kernel/mce.c | |
parent | 17fc14ff1bdbc393e1cf4f6fd1e1e53d72ab9fe5 (diff) | |
download | kernel_samsung_espresso10-fff2e89f11dd9b9b45e9212bc543154ca3d028a1.zip kernel_samsung_espresso10-fff2e89f11dd9b9b45e9212bc543154ca3d028a1.tar.gz kernel_samsung_espresso10-fff2e89f11dd9b9b45e9212bc543154ca3d028a1.tar.bz2 |
[PATCH] x86_64: mce_amd relocate sysfs files
Get rid of /sys/devices/system/threshold directory and move
mce_amd thresholding files into the machine sysfs directory --
/sys/devices/system/machinecheck.
AK: Fixed warning
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/mce.c')
-rw-r--r-- | arch/x86_64/kernel/mce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c index c69fc43..acd5816 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86_64/kernel/mce.c @@ -562,7 +562,7 @@ static struct sysdev_class mce_sysclass = { set_kset_name("machinecheck"), }; -static DEFINE_PER_CPU(struct sys_device, device_mce); +DEFINE_PER_CPU(struct sys_device, device_mce); /* Why are there no generic functions for this? */ #define ACCESSOR(name, var, start) \ |