summaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAshok Raj2006-02-03 21:51:23 +0100
committerLinus Torvalds2006-02-05 01:43:14 +0100
commit7ded56895c11a656408b6ff21086ae04a6a7cda0 (patch)
treee12b7105ee50a86573594b803e55270abf5dbc3c /arch/x86_64
parent[PATCH] x86_64: mark two routines as __cpuinit (diff)
downloadkernel-qcow2-linux-7ded56895c11a656408b6ff21086ae04a6a7cda0.tar.gz
kernel-qcow2-linux-7ded56895c11a656408b6ff21086ae04a6a7cda0.tar.xz
kernel-qcow2-linux-7ded56895c11a656408b6ff21086ae04a6a7cda0.zip
[PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug.
attached patch is 2 more cases i found via running the reference_init.pl script. These were easy to spot just knowing the file names. There is one another about init/main.c that i cant exactly zero in. (partly because i dont know how to interpret the data thats spewed out of the tool). Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/kernel/mce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c
index 13a2eada6c95..b8b9529fa89e 100644
--- a/arch/x86_64/kernel/mce.c
+++ b/arch/x86_64/kernel/mce.c
@@ -380,7 +380,7 @@ static void __cpuinit mce_cpu_features(struct cpuinfo_x86 *c)
*/
void __cpuinit mcheck_init(struct cpuinfo_x86 *c)
{
- static cpumask_t mce_cpus __initdata = CPU_MASK_NONE;
+ static cpumask_t mce_cpus = CPU_MASK_NONE;
mce_cpu_quirks(c);