mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
x86, nmi: Use predefined numbers instead of hardcoded one
[ Impact: cleanup ] Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> LKML-Reference: <20090607081937.GC4547@lenovo> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
4aee2ad461
commit
a4046f8d29
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user