ia64/xen-unstable

changeset 19342:e174645c7fc0

PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 12 11:25:40 2009 +0000 (2009-03-12)
parents 32cdbebf0cb7
children 832f9e32832d
files unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.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/scatterlist.h	Thu Mar 12 11:25:40 2009 +0000
     1.3 @@ -0,0 +1,10 @@
     1.4 +#ifndef _LINUX_SCATTERLIST_H
     1.5 +#define _LINUX_SCATTERLIST_H
     1.6 +
     1.7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
     1.8 +#error "This version of Linux should not need compat linux/scatterlist.h"
     1.9 +#endif
    1.10 +
    1.11 +#include <asm/scatterlist.h>
    1.12 +
    1.13 +#endif /* _LINUX_SCATTERLIST_H */