diff options
author | 2025-02-27 13:55:45 +0100 | |
---|---|---|
committer | 2025-02-27 14:00:30 +0100 | |
commit | 9c94c14ca39577b6324c667d8450ffa19fc1e5c4 (patch) | |
tree | c9919aa789d2c58e3ccdedeefbc37719a75769bb /scripts/gdb/linux/utils.py | |
parent | x86/bootflag: Micro-optimize sbf_write() (diff) | |
download | wireguard-linux-9c94c14ca39577b6324c667d8450ffa19fc1e5c4.tar.xz wireguard-linux-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 <eleanor15x@gmail.com>
Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com>
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20250227125616.2253774-1-ubizjak@gmail.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions