Message ID | CAJgR-Bg0Vjs3mZEzkVRKRqEU=+WPz2WjK_iKpqiNGCDW7J=Qbg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 1f8fed9..0dfb76f 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -631,6 +631,9 @@ config ARCH_PHYS_ADDR_T_64BIT config ARCH_DMA_ADDR_T_64BIT bool +config RESOURCE_SIZE_T_64BIT + bool + config ARM_THUMB bool "Support Thumb user binaries" if !CPU_THUMBONLY depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || \ diff --git a/include/linux/types.h b/include/linux/types.h index 4d118ba..331d59a 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -164,7 +164,11 @@ typedef u64 phys_addr_t; typedef u32 phys_addr_t; #endif +#ifdef CONFIG_RESOURCE_SIZE_T_64BIT +typedef u64 resource_size_t; +#else typedef phys_addr_t resource_size_t; +#endif And then this: