mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] linux/types.h: define phys_size_t
@ 2012-05-11 10:58 Renaud Barbier
  2012-05-13 20:11 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Renaud Barbier @ 2012-05-11 10:58 UTC (permalink / raw)
  To: barebox

Add this definition in preparation for the introduction of the
mpc85xx support.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] linux/types.h: define phys_size_t
  2012-05-11 10:58 [PATCH 1/1] linux/types.h: define phys_size_t Renaud Barbier
@ 2012-05-13 20:11 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-05-13 20:11 UTC (permalink / raw)
  To: Renaud Barbier; +Cc: barebox

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-13 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-11 10:58 [PATCH 1/1] linux/types.h: define phys_size_t Renaud Barbier
2012-05-13 20:11 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox