aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/cpuflags.c
diff options
context:
space:
mode:
authorUros Bizjak <[email protected]>2025-02-26 15:36:56 +0000
committerIngo Molnar <[email protected]>2025-02-27 09:14:00 +0000
commitadf6819278ba34be1d29ffcdca5c2ccd2123f667 (patch)
tree1dd4cea5b792257ae75fb63ff576ee1ed2318a4c /arch/x86/boot/cpuflags.c
parentx86/boot: Add missing has_cpuflag() prototype (diff)
downloadkernel-adf6819278ba34be1d29ffcdca5c2ccd2123f667.tar.gz
kernel-adf6819278ba34be1d29ffcdca5c2ccd2123f667.zip
x86/bootflag: Micro-optimize sbf_write()
Change parity bit with XOR when !parity instead of masking bit out and conditionally setting it when !parity. Saves a couple of bytes in the object file. Co-developed-by: "H. Peter Anvin" <[email protected]> Signed-off-by: "H. Peter Anvin" <[email protected]> Signed-off-by: Uros Bizjak <[email protected]> Signed-off-by: Ingo Molnar <[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