ia64/xen-unstable

changeset 11984:d008b6b44f3c

PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Oct 25 13:58:30 2006 +0100 (2006-10-25)
parents 206e20b7b54e
children ecc1782f6968
files unmodified_drivers/linux-2.6/compat-include/linux/io.h
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/unmodified_drivers/linux-2.6/compat-include/linux/io.h	Wed Oct 25 13:58:30 2006 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +#ifndef _LINUX_IO_H
     1.5 +#define _LINUX_IO_H
     1.6 +
     1.7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
     1.8 +#error "This version of Linux should not need compat linux/io.h"
     1.9 +#endif
    1.10 +
    1.11 +#include <asm/io.h>
    1.12 +
    1.13 +#endif