Commit 1281675e authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

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: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3c52204b
...@@ -50,10 +50,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low) ...@@ -50,10 +50,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
{ {
} }
#if APIC_DEBUG #define inquire_remote_apic(apicid) do { \
#define inquire_remote_apic(apicid) __inquire_remote_apic(apicid) if (apic_verbosity >= APIC_DEBUG) \
#else __inquire_remote_apic(apicid); \
#define inquire_remote_apic(apicid) {} } while (0)
#endif
#endif /* __ASM_MACH_WAKECPU_H */ #endif /* __ASM_MACH_WAKECPU_H */
...@@ -33,10 +33,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low) ...@@ -33,10 +33,9 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
{ {
} }
#if APIC_DEBUG #define inquire_remote_apic(apicid) do { \
#define inquire_remote_apic(apicid) __inquire_remote_apic(apicid) if (apic_verbosity >= APIC_DEBUG) \
#else __inquire_remote_apic(apicid); \
#define inquire_remote_apic(apicid) {} } while (0)
#endif
#endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */ #endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment