x86: Fix mwait_usable section mismatch
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>
This commit is contained in:
committed by
Ingo Molnar
parent
5117348dea
commit
1c9d16e359
@@ -32,6 +32,6 @@ extern void arch_unregister_cpu(int);
|
|||||||
|
|
||||||
DECLARE_PER_CPU(int, cpu_state);
|
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 */
|
#endif /* _ASM_X86_CPU_H */
|
||||||
|
@@ -506,7 +506,7 @@ static void poll_idle(void)
|
|||||||
#define MWAIT_ECX_EXTENDED_INFO 0x01
|
#define MWAIT_ECX_EXTENDED_INFO 0x01
|
||||||
#define MWAIT_EDX_C1 0xf0
|
#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;
|
u32 eax, ebx, ecx, edx;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user