x86: Fix mwait_usable section mismatch
authorBorislav Petkov <bp@amd64.org>
Fri, 11 Feb 2011 17:17:54 +0000 (18:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Feb 2011 11:08:28 +0000 (12:08 +0100)
We use it in non __cpuinit code now too so drop marker.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20110211171754.GA21047@aftab>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/cpu.h
arch/x86/kernel/process.c

index 6e6e7558e702cbdeb56a5fb7c5e048cb82f15e9b..4564c8e28a33562a347066c4e87b5ec09a01e497 100644 (file)
@@ -32,6 +32,6 @@ extern void arch_unregister_cpu(int);
 
 DECLARE_PER_CPU(int, cpu_state);
 
-int __cpuinit mwait_usable(const struct cpuinfo_x86 *);
+int mwait_usable(const struct cpuinfo_x86 *);
 
 #endif /* _ASM_X86_CPU_H */
index e764fc05d700365246d4e77f52a406bbfe1c7d22..3c189e9accd38d352b65e23f39eeee3582613028 100644 (file)
@@ -506,7 +506,7 @@ static void poll_idle(void)
 #define MWAIT_ECX_EXTENDED_INFO                0x01
 #define MWAIT_EDX_C1                   0xf0
 
-int __cpuinit mwait_usable(const struct cpuinfo_x86 *c)
+int mwait_usable(const struct cpuinfo_x86 *c)
 {
        u32 eax, ebx, ecx, edx;
 
This page took 0.030498 seconds and 5 git commands to generate.