
24 Aug
2016
24 Aug
'16
2:53 p.m.
On 24 August 2016 at 03:31, Bin Meng bmeng.cn@gmail.com wrote:
U-Boot itself as EFI payload is still running in 32-bit mode. So BITS_PER_LONG should still be 32. This fixes the warnings when building EFI 64-bit payload.
include/asm-generic/bitops/__fls.h:17:2: warning: left shift count >= width of type if (!(word & (~0ul << 32))) { ^
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/x86/include/asm/types.h | 4 ---- lib/efi/efi_stub.c | 1 - 2 files changed, 5 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org