All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] h8300: Add missing include file to asm/io.h
@ 2016-06-09  3:11 Guenter Roeck
  2016-06-10 12:15 ` Yoshinori Sato
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-06-09  3:11 UTC (permalink / raw)
  To: Yoshinori Sato
  Cc: uclinux-h8-devel, linux-kernel, Guenter Roeck, Andrew Morton

h8300 builds fail with

arch/h8300/include/asm/io.h:9:15: error: unknown type name ‘u8’
arch/h8300/include/asm/io.h:15:15: error: unknown type name ‘u16’
arch/h8300/include/asm/io.h:21:15: error: unknown type name ‘u32’

and many related errors.

Fixes: 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/h8300/include/asm/io.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/h8300/include/asm/io.h b/arch/h8300/include/asm/io.h
index 2e221c5f0203..f86918aed9e1 100644
--- a/arch/h8300/include/asm/io.h
+++ b/arch/h8300/include/asm/io.h
@@ -3,6 +3,8 @@
 
 #ifdef __KERNEL__
 
+#include <linux/types.h>
+
 /* H8/300 internal I/O functions */
 
 #define __raw_readb __raw_readb
-- 
2.5.0

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

* Re: [PATCH -next] h8300: Add missing include file to asm/io.h
  2016-06-09  3:11 [PATCH -next] h8300: Add missing include file to asm/io.h Guenter Roeck
@ 2016-06-10 12:15 ` Yoshinori Sato
  0 siblings, 0 replies; 2+ messages in thread
From: Yoshinori Sato @ 2016-06-10 12:15 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: uclinux-h8-devel, linux-kernel, Andrew Morton

On Thu, 09 Jun 2016 12:11:58 +0900,
Guenter Roeck wrote:
> 
> h8300 builds fail with
> 
> arch/h8300/include/asm/io.h:9:15: error: unknown type name ‘u8’
> arch/h8300/include/asm/io.h:15:15: error: unknown type name ‘u16’
> arch/h8300/include/asm/io.h:21:15: error: unknown type name ‘u32’
> 
> and many related errors.

Applied to h8300-next.
Thanks.

> Fixes: 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  arch/h8300/include/asm/io.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/h8300/include/asm/io.h b/arch/h8300/include/asm/io.h
> index 2e221c5f0203..f86918aed9e1 100644
> --- a/arch/h8300/include/asm/io.h
> +++ b/arch/h8300/include/asm/io.h
> @@ -3,6 +3,8 @@
>  
>  #ifdef __KERNEL__
>  
> +#include <linux/types.h>
> +
>  /* H8/300 internal I/O functions */
>  
>  #define __raw_readb __raw_readb
> -- 
> 2.5.0
> 

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

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

end of thread, other threads:[~2016-06-10 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09  3:11 [PATCH -next] h8300: Add missing include file to asm/io.h Guenter Roeck
2016-06-10 12:15 ` Yoshinori Sato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.