patch-2.1.34 linux/include/asm-i386/io.h

Next file: linux/include/asm-i386/irq.h
Previous file: linux/include/asm-i386/hardirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/include/asm-i386/io.h linux/include/asm-i386/io.h
@@ -1,8 +1,6 @@
 #ifndef _ASM_IO_H
 #define _ASM_IO_H
 
-#include <linux/vmalloc.h>
-
 /*
  * This file contains the definitions for the x86 IO instructions
  * inb/inw/inl/outb/outw/outl and the "string versions" of the same
@@ -168,6 +166,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/vmalloc.h>
 #include <asm/page.h>
 
 #define __io_virt(x)		((void *)(PAGE_OFFSET | (unsigned long)(x)))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov