diff options
author | Kuan-Wei Chiu <visitorckw@gmail.com> | 2025-02-27 15:55:45 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-27 16:00:30 +0300 |
commit | 9c94c14ca39577b6324c667d8450ffa19fc1e5c4 (patch) | |
tree | c9919aa789d2c58e3ccdedeefbc37719a75769bb /drivers/platform/x86/intel/pmt/class.c | |
parent | adf6819278ba34be1d29ffcdca5c2ccd2123f667 (diff) | |
download | linux-9c94c14ca39577b6324c667d8450ffa19fc1e5c4.tar.xz |
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 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions