diff options
author | Yong Wang <yong.y.wang@linux.intel.com> | 2009-11-11 02:51:25 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-11 06:33:32 -0500 |
commit | ce6b5d768c79b9d5dd6345c033bae781d5ca9b8e (patch) | |
tree | b2f716b9f2c94c4ee6dcd313a9435aa9cb601e14 | |
parent | a2202aa29289db64ca7988b12343158b67b27f10 (diff) |
x86: Mark the thermal init functions __init
Mark the thermal init functions __init so that the init memory
can be freed.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
LKML-Reference: <20091111075125.GA17900@ywang-moblin2.bj.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/therm_throt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c index 7f3cf36ed124..8a73d5c12a05 100644 --- a/arch/x86/kernel/cpu/mcheck/therm_throt.c +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c | |||
@@ -256,7 +256,7 @@ asmlinkage void smp_thermal_interrupt(struct pt_regs *regs) | |||
256 | ack_APIC_irq(); | 256 | ack_APIC_irq(); |
257 | } | 257 | } |
258 | 258 | ||
259 | void mcheck_intel_therm_init(void) | 259 | void __init mcheck_intel_therm_init(void) |
260 | { | 260 | { |
261 | /* | 261 | /* |
262 | * This function is only called on boot CPU. Save the init thermal | 262 | * This function is only called on boot CPU. Save the init thermal |
@@ -268,7 +268,7 @@ void mcheck_intel_therm_init(void) | |||
268 | lvtthmr_init = apic_read(APIC_LVTTHMR); | 268 | lvtthmr_init = apic_read(APIC_LVTTHMR); |
269 | } | 269 | } |
270 | 270 | ||
271 | void intel_init_thermal(struct cpuinfo_x86 *c) | 271 | void __init intel_init_thermal(struct cpuinfo_x86 *c) |
272 | { | 272 | { |
273 | unsigned int cpu = smp_processor_id(); | 273 | unsigned int cpu = smp_processor_id(); |
274 | int tm2 = 0; | 274 | int tm2 = 0; |