search for: use_real_io

Displaying 2 results from an estimated 2 matches for "use_real_io".

2007 Apr 18
1
RFC: const_udelay in 018-delay functions patch
...3D=3D --- a/include/asm-i386/io.h +++ b/include/asm-i386/io.h @@ -256,11 +256,11 @@ static inline void flush_write_buffers(v = #endif /* __KERNEL__ */ = -#ifdef SLOW_IO_BY_JUMPING -#define __SLOW_DOWN_IO "jmp 1f; 1: jmp 1f; 1:" -#else +#if defined(CONFIG_PARAVIRT) && !defined(USE_REAL_IO) +#include <asm/paravirt.h> +#else = + #define __SLOW_DOWN_IO "outb %%al,$0x80;" -#endif = static inline void slow_down_io(void) { __asm__ __volatile__( @@ -270,6 +270,8 @@ static inline void slow_down_io(void) { #endif : : ); } + +#endif = #ifdef CONFIG_X86_NUMAQ ex...
2007 Apr 18
1
RFC: const_udelay in 018-delay functions patch
...3D=3D --- a/include/asm-i386/io.h +++ b/include/asm-i386/io.h @@ -256,11 +256,11 @@ static inline void flush_write_buffers(v = #endif /* __KERNEL__ */ = -#ifdef SLOW_IO_BY_JUMPING -#define __SLOW_DOWN_IO "jmp 1f; 1: jmp 1f; 1:" -#else +#if defined(CONFIG_PARAVIRT) && !defined(USE_REAL_IO) +#include <asm/paravirt.h> +#else = + #define __SLOW_DOWN_IO "outb %%al,$0x80;" -#endif = static inline void slow_down_io(void) { __asm__ __volatile__( @@ -270,6 +270,8 @@ static inline void slow_down_io(void) { #endif : : ); } + +#endif = #ifdef CONFIG_X86_NUMAQ ex...