x86: fix APIC_DEBUG with inquire_remote_apic
APIC_DEBUG is always 2. need to update inquire_remote_apic to check apic_verbosity with it instead. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
3c52204bb9
commit
1281675e9c
|
@ -50,10 +50,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
|
|||
{
|
||||
}
|
||||
|
||||
#if APIC_DEBUG
|
||||
#define inquire_remote_apic(apicid) __inquire_remote_apic(apicid)
|
||||
#else
|
||||
#define inquire_remote_apic(apicid) {}
|
||||
#endif
|
||||
#define inquire_remote_apic(apicid) do { \
|
||||
if (apic_verbosity >= APIC_DEBUG) \
|
||||
__inquire_remote_apic(apicid); \
|
||||
} while (0)
|
||||
|
||||
#endif /* __ASM_MACH_WAKECPU_H */
|
||||
|
|
|
@ -33,10 +33,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
|
|||
{
|
||||
}
|
||||
|
||||
#if APIC_DEBUG
|
||||
#define inquire_remote_apic(apicid) __inquire_remote_apic(apicid)
|
||||
#else
|
||||
#define inquire_remote_apic(apicid) {}
|
||||
#endif
|
||||
#define inquire_remote_apic(apicid) do { \
|
||||
if (apic_verbosity >= APIC_DEBUG) \
|
||||
__inquire_remote_apic(apicid); \
|
||||
} while (0)
|
||||
|
||||
#endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */
|
||||
|
|
Loading…
Reference in New Issue