diff options
author | Jacob Shin <jacob.w.shin@gmail.com> | 2006-06-26 07:58:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 13:48:20 -0400 |
commit | fff2e89f11dd9b9b45e9212bc543154ca3d028a1 (patch) | |
tree | fa25f3e41cf642f23c187a2fb13c0595eba825bc /include/asm-x86_64 | |
parent | 17fc14ff1bdbc393e1cf4f6fd1e1e53d72ab9fe5 (diff) |
[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 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/mce.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/mce.h b/include/asm-x86_64/mce.h index 7229785094e3..08f721e1b7e8 100644 --- a/include/asm-x86_64/mce.h +++ b/include/asm-x86_64/mce.h | |||
@@ -74,6 +74,8 @@ struct mce_log { | |||
74 | #include <asm/atomic.h> | 74 | #include <asm/atomic.h> |
75 | 75 | ||
76 | void mce_log(struct mce *m); | 76 | void mce_log(struct mce *m); |
77 | DECLARE_PER_CPU(struct sys_device, device_mce); | ||
78 | |||
77 | #ifdef CONFIG_X86_MCE_INTEL | 79 | #ifdef CONFIG_X86_MCE_INTEL |
78 | void mce_intel_feature_init(struct cpuinfo_x86 *c); | 80 | void mce_intel_feature_init(struct cpuinfo_x86 *c); |
79 | #else | 81 | #else |