diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2017-09-06 16:44:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-09-08 08:25:23 +0200 |
commit | e2cea82facc9cd5302600de9e92fe40e956c263f (patch) | |
tree | 03000b5adcadb467b247285ddaf21f97bec5b0b1 | |
parent | 57a79764e96708b8c7989d7eaf94a8e649b1320f (diff) | |
download | barebox-e2cea82facc9cd5302600de9e92fe40e956c263f.tar.gz barebox-e2cea82facc9cd5302600de9e92fe40e956c263f.tar.xz |
x86: asm: include asm-generic.h
make io[read,write]* defines available on x86 platform
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/x86/include/asm/io.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index df4bc99ec8..5d19679b50 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -61,6 +61,19 @@ BUILDIO(b, b, char) BUILDIO(w, w, short) BUILDIO(l, , int) +#define outb outb +#define outw outw +#define outl outb +#define inb inb +#define inw inw +#define inl inl +#define outsb outsb +#define outsw outsw +#define outsl outsb +#define insb insb +#define insw insw +#define insl insl + #define IO_SPACE_LIMIT 0xffff /* do a tiny io delay */ @@ -69,4 +82,6 @@ static inline void io_delay(void) inb(0x80); } +#include <asm-generic/io.h> + #endif /* __ASM_X86_IO_H */ |