[PATCH 1/1] linux/types.h: define phys_size_t
Sascha Hauer
s.hauer at pengutronix.de
Sun May 13 16:11:12 EDT 2012
On Fri, May 11, 2012 at 11:58:13AM +0100, Renaud Barbier wrote:
> Add this definition in preparation for the introduction of the
> mpc85xx support.
>
> Signed-off-by: Renaud Barbier <renaud.barbier at ge.com>
Applied, thanks
Sascha
> ---
> include/linux/types.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/types.h b/include/linux/types.h
> index 16cc3ce..76c6b67 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;
> --
> 1.7.1
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list