aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/cpuflags.c
diff options
context:
space:
mode:
authorKuan-Wei Chiu <[email protected]>2025-02-27 12:55:45 +0000
committerIngo Molnar <[email protected]>2025-02-27 13:00:30 +0000
commit9c94c14ca39577b6324c667d8450ffa19fc1e5c4 (patch)
treec9919aa789d2c58e3ccdedeefbc37719a75769bb /arch/x86/boot/cpuflags.c
parentx86/bootflag: Micro-optimize sbf_write() (diff)
downloadkernel-9c94c14ca39577b6324c667d8450ffa19fc1e5c4.tar.gz
kernel-9c94c14ca39577b6324c667d8450ffa19fc1e5c4.zip
x86/bootflag: Replace open-coded parity calculation with parity8()
Refactor parity calculations to use the standard parity8() helper. This change eliminates redundant implementations and improves code efficiency. [ ubizjak: Updated the patch to apply to the latest x86 tree. ] Co-developed-by: Yu-Chun Lin <[email protected]> Signed-off-by: Yu-Chun Lin <[email protected]> Signed-off-by: Kuan-Wei Chiu <[email protected]> Signed-off-by: Uros Bizjak <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/boot/cpuflags.c')
0 files changed, 0 insertions, 0 deletions