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

Commit a4046f8d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86, nmi: Use predefined numbers instead of hardcoded one



[ Impact: cleanup ]

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <20090607081937.GC4547@lenovo>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4aee2ad4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ static inline int nmi_watchdog_active(void)
	 * but since they are power of two we could use a
	 * cheaper way --cvg
	 */
	return nmi_watchdog & 0x3;
	return nmi_watchdog & (NMI_LOCAL_APIC | NMI_IO_APIC);
}
#endif