Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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 */
+4 −5
Original line number Diff line number Diff line
@@ -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 */