summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2012-05-11 11:58:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-13 22:10:52 +0200
commit2f05b6925676e5f3263e0d51ed2f0a92201400d8 (patch)
treead9ff7e41b9e88c6ee2ea2d3b3a63e4f53f038ef /include
parent330da06a9a016d62af792707268c4a014cc199c5 (diff)
downloadbarebox-2f05b6925676e5f3263e0d51ed2f0a92201400d8.tar.gz
barebox-2f05b6925676e5f3263e0d51ed2f0a92201400d8.tar.xz
linux/types.h: define phys_size_t
Add this definition in preparation for the introduction of the mpc85xx support. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 16cc3ce128..76c6b670a2 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -144,8 +144,10 @@ typedef __u32 __bitwise __wsum;
#ifdef CONFIG_PHYS_ADDR_T_64BIT
typedef u64 phys_addr_t;
+typedef u64 phys_size_t;
#else
typedef u32 phys_addr_t;
+typedef u32 phys_size_t;
#endif
typedef phys_addr_t resource_size_t;