X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Ftypes.h;h=766617f9aa3e22a5ac2346acac4312104e7821ff;hb=ab5efd576c4e65f056f71eb1ecb7024affaa9a92;hp=e272c90eb7f6bd3ef52bfb5c1171aab136110c27;hpb=625509ab0edbb7d943ad9028de3c21ca48aa58be;p=u-boot diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index e272c90eb7..766617f9aa 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h @@ -44,8 +44,11 @@ typedef __INT64_TYPE__ s64; typedef __UINT64_TYPE__ u64; #endif +#ifdef CONFIG_EFI_STUB_64BIT +#define BITS_PER_LONG 64 +#else #define BITS_PER_LONG 32 - +#endif /* Dma addresses are 32-bits wide. */ typedef u32 dma_addr_t;