dmi: check both the AC and ID flags at the same timemaster
commit05ac953c23f90b2328d393f7eecde96e41aed067
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 Feb 2019 03:49:12 +0000 (20 19:49 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Feb 2019 03:49:12 +0000 (20 19:49 -0800)
tree759fe3d75276aac5c7f9dd7dcbfb56323a85fff1
parent090ba3a2aa9bc3f6b5491b09f51b76836c014fee
dmi: check both the AC and ID flags at the same time

There is no reason to do the fairly complex flag-test sequence twice,
when we might as well check for both flags at the same time.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/x86/cpu.h
core/dmi.c