diff options
Diffstat (limited to 'arch/nios2/include')
-rw-r--r-- | arch/nios2/include/asm/io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 41e6bd4ee1..817cd72e00 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -7,6 +7,8 @@ #ifndef __ASM_NIOS2_IO_H_ #define __ASM_NIOS2_IO_H_ +#include <asm/global_data.h> + static inline void sync(void) { __asm__ __volatile__ ("sync" : : : "memory"); @@ -170,5 +172,6 @@ static inline void outsl (unsigned long port, const void *src, unsigned long cou #define memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) #include <asm-generic/io.h> +#include <asm/global_data.h> #endif /* __ASM_NIOS2_IO_H_ */ |