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
- Lines: 17
- Date:
Mon Apr 14 11:42:11 1997
- Orig file:
v2.1.33/linux/include/asm-i386/io.h
- Orig date:
Fri Apr 4 08:52:25 1997
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