diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-07-28 17:56:00 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-29 18:43:44 -0400 |
commit | 419d6162c0c0103fa2f44f6691dff9cac14c650d (patch) | |
tree | 39ce8840dea6ae46bc90f53088d9d9b5719e5d43 /arch/x86 | |
parent | e3346fc48204d780f92527d06df8bf6f28d603ec (diff) |
x86, mce: add missing __cpuinit tags
mce_cap_init() and mce_cpu_quirks() can be tagged with __cpuinit.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 75919440a188..1ce6db1f8789 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -1158,7 +1158,7 @@ static int mce_banks_init(void) | |||
1158 | /* | 1158 | /* |
1159 | * Initialize Machine Checks for a CPU. | 1159 | * Initialize Machine Checks for a CPU. |
1160 | */ | 1160 | */ |
1161 | static int mce_cap_init(void) | 1161 | static int __cpuinit mce_cap_init(void) |
1162 | { | 1162 | { |
1163 | unsigned b; | 1163 | unsigned b; |
1164 | u64 cap; | 1164 | u64 cap; |
@@ -1222,7 +1222,7 @@ static void mce_init(void) | |||
1222 | } | 1222 | } |
1223 | 1223 | ||
1224 | /* Add per CPU specific workarounds here */ | 1224 | /* Add per CPU specific workarounds here */ |
1225 | static void mce_cpu_quirks(struct cpuinfo_x86 *c) | 1225 | static void __cpuinit mce_cpu_quirks(struct cpuinfo_x86 *c) |
1226 | { | 1226 | { |
1227 | /* This should be disabled by the BIOS, but isn't always */ | 1227 | /* This should be disabled by the BIOS, but isn't always */ |
1228 | if (c->x86_vendor == X86_VENDOR_AMD) { | 1228 | if (c->x86_vendor == X86_VENDOR_AMD) { |