cpu_has_eflag(): eliminate if the answer is already known
commit87a6dff094a32ff477404bfea42d9e8b02ad8176
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 Feb 2019 02:46:34 +0000 (20 18:46 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Feb 2019 02:46:34 +0000 (20 18:46 -0800)
treebe899718fe987d59330b36e17fcd804409066d49
parent458a54133ecdf1685c02294d812cb562fe7bf4c3
cpu_has_eflag(): eliminate if the answer is already known

There is no need to test for a flag if the answer can be given at
compile time.

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