summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_api.c
diff options
context:
space:
mode:
authorMichael Brown2021-02-27 16:05:20 +0100
committerMichael Brown2021-02-27 16:45:31 +0100
commit16d95227a4b92bba068b43070545b96ce0a90e14 (patch)
treee07a225e5a96f54c2994d652090d338e22bf9e99 /src/interface/linux/linux_api.c
parent[efi] Compress EFI ROM images (diff)
downloadipxe-16d95227a4b92bba068b43070545b96ce0a90e14.tar.gz
ipxe-16d95227a4b92bba068b43070545b96ce0a90e14.tar.xz
ipxe-16d95227a4b92bba068b43070545b96ce0a90e14.zip
[bitops] Provide an explicit operand size for bit test instructions
Recent versions of the GNU assembler (observed with GNU as 2.35 on Fedora 33) will produce a warning message Warning: no instruction mnemonic suffix given and no register operands; using default for `bts' The operand size affects only the potential range for the bit number. Since we pass the bit number as an unsigned int, it is already constrained to 32 bits for both i386 and x86_64. Silence the assembler warning by specifying an explicit 32-bit operand size (and thereby matching the choice that the assembler would otherwise make automatically). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_api.c')
0 files changed, 0 insertions, 0 deletions