From c7efd11b38fa5c0ec264a2724735df07ec5f08d8 Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Fri, 30 Sep 2011 15:51:42 +0200 Subject: [PATCH] x86: Define byteorder This is required to avoid warnings like this: In file included from : include/io.h:7:5: warning: "__BYTE_ORDER" is not defined include/io.h:7:21: warning: "__BIG_ENDIAN" is not defined Signed-off-by: Juergen Beisert Signed-off-by: Sascha Hauer --- arch/x86/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 27ea64252..9cb78e41e 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -10,6 +10,8 @@ #ifndef __ASM_X86_IO_H #define __ASM_X86_IO_H +#include + static inline void outb(unsigned char value, int port) { asm volatile("outb %b0, %w1" : : "a"(value), "Nd"(port));