summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/types.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-10-23 18:04:44 +0000
committerSimon Glass <sjg@chromium.org>2012-12-06 14:30:40 -0800
commitec516c489969c1c12e9b26900facee6efd60c938 (patch)
treef6fc29f78269ddfb576ed1b117a42a9ef968a383 /arch/x86/include/asm/types.h
parent0c3929092d13cf12d6b9383f057e663b6334ee04 (diff)
downloadtalos-obmc-uboot-ec516c489969c1c12e9b26900facee6efd60c938.tar.gz
talos-obmc-uboot-ec516c489969c1c12e9b26900facee6efd60c938.zip
x86: Increase the size of the phys_size_t and phys_addr_t types
These types should be 64 bits long to reflect the fact that physical addresses and the size of physical areas of memory are more than 32 bits long. Signed-off-by: Gabe Black <gabeblack@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/types.h')
-rw-r--r--arch/x86/include/asm/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index 9a40e383eb..e9fde88f7d 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -45,8 +45,8 @@ typedef unsigned long long u64;
typedef u32 dma_addr_t;
-typedef unsigned long phys_addr_t;
-typedef unsigned long phys_size_t;
+typedef unsigned long long phys_addr_t;
+typedef unsigned long long phys_size_t;
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud