diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-09-26 04:52:36 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 04:52:36 -0400 |
commit | 95414930548871c6c92a5b0e607b12b81f3d84d8 (patch) | |
tree | 199302c69c8e119bfd2b1cdd3da5e10630825cb5 /arch/i386/kernel/cpu/umc.c | |
parent | ed77504b2007ff7ce56841227467ac3ead52df62 (diff) |
[PATCH] i386: mark cpu_dev structures as __cpuinitdata
The different cpu_dev structures are all used from __cpuinit callers what
I can tell. So mark them as __cpuinitdata instead of __initdata. I am a
little bit unsure about arch/i386/common.c:default_cpu, especially when it
comes to the purpose of this_cpu.
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/cpu/umc.c')
-rw-r--r-- | arch/i386/kernel/cpu/umc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/umc.c b/arch/i386/kernel/cpu/umc.c index 2cd988f6dc55..392b195948d6 100644 --- a/arch/i386/kernel/cpu/umc.c +++ b/arch/i386/kernel/cpu/umc.c | |||
@@ -10,7 +10,7 @@ static void __init init_umc(struct cpuinfo_x86 * c) | |||
10 | 10 | ||
11 | } | 11 | } |
12 | 12 | ||
13 | static struct cpu_dev umc_cpu_dev __initdata = { | 13 | static struct cpu_dev umc_cpu_dev __cpuinitdata = { |
14 | .c_vendor = "UMC", | 14 | .c_vendor = "UMC", |
15 | .c_ident = { "UMC UMC UMC" }, | 15 | .c_ident = { "UMC UMC UMC" }, |
16 | .c_models = { | 16 | .c_models = { |