9
0
Fork 0

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>
This commit is contained in:
Renaud Barbier 2012-05-11 11:58:13 +01:00 committed by Sascha Hauer
parent 330da06a9a
commit 2f05b69256
1 changed files with 2 additions and 0 deletions

View File

@ -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;