diff options
Diffstat (limited to 'include/asm-x86/io_32.h')
-rw-r--r-- | include/asm-x86/io_32.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-x86/io_32.h b/include/asm-x86/io_32.h index fe881cd1e6f4..a8d25c38b91c 100644 --- a/include/asm-x86/io_32.h +++ b/include/asm-x86/io_32.h | |||
@@ -250,10 +250,14 @@ static inline void flush_write_buffers(void) | |||
250 | 250 | ||
251 | #endif /* __KERNEL__ */ | 251 | #endif /* __KERNEL__ */ |
252 | 252 | ||
253 | static inline void native_io_delay(void) | 253 | #ifndef CONFIG_UDELAY_IO_DELAY |
254 | extern void io_delay_init(void); | ||
255 | #else | ||
256 | static inline void io_delay_init(void) | ||
254 | { | 257 | { |
255 | asm volatile("outb %%al,$0x80" : : : "memory"); | ||
256 | } | 258 | } |
259 | #endif | ||
260 | extern void native_io_delay(void); | ||
257 | 261 | ||
258 | #if defined(CONFIG_PARAVIRT) | 262 | #if defined(CONFIG_PARAVIRT) |
259 | #include <asm/paravirt.h> | 263 | #include <asm/paravirt.h> |