diff options
| author | Uros Bizjak <[email protected]> | 2025-03-07 09:10:03 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-08 19:36:26 +0000 |
| commit | 558fc8e1869ca6e1eb99a1e2b52f6c35424d4adf (patch) | |
| tree | 65852b5ae97806474ee9bc49e88c3f8fec9d179d /net/unix/af_unix.c | |
| parent | x86/bootflag: Replace open-coded parity calculation with parity8() (diff) | |
| download | kernel-558fc8e1869ca6e1eb99a1e2b52f6c35424d4adf.tar.gz kernel-558fc8e1869ca6e1eb99a1e2b52f6c35424d4adf.zip | |
x86/boot: Do not test if AC and ID eflags are changeable on x86_64
The test for the changeabitily of AC and ID EFLAGS is used to
distinguish between i386 and i486 processors (AC) and to test
for CPUID instruction support (ID).
Skip these tests on x86_64 processors as they always supports CPUID.
Also change the return type of has_eflag() to bool.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
