h8300: Add missing include file to asm/io.h
PATCH 1/1 h8300: Add missing include file to asm/io.h
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 <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/h8300/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+)
arch/h8300/include/asm/io.h +2 -0
@@ -3,6 +3,8 @@#ifdef __KERNEL__ +#include <linux/types.h> +/* H8/300 internal I/O functions */ #define __raw_readb __raw_readb
Signature · 1 line
2.5.0
Yoshinori Sato
AppliedQuoted 8 lines · Guenter Roeck
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.
Quoted 23 lines
Fixes 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")Cc Andrew Morton <[email protected]>Signed-off-by Guenter Roeck <[email protected]>--- arch/h8300/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+)arch/h8300/include/asm/io.h +2
-0@@ -3,6 +3,8 @@#ifdef __KERNEL__ +#include <linux/types.h> +/* H8/300 internal I/O functions */ #define __raw_readb __raw_readbSignature · 1 line
2.5.0
Signature · 2 lines
Yoshinori Sato <[email protected]>