From: "KUWAMURA Shin'ya" Subject: [PATCH] PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12 Date: Thu, 12 Mar 2009 13:16:09 +0900 (JST) Message-ID: <20090312.131609.200638247.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Mar_12_13_16_09_2009_254)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Thu_Mar_12_13_16_09_2009_254)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Because the old kernel (< 2.6.12) does not have linux/scatterlist.h, building PV-on-HVM drivers fails. This patch add it to compat-include. Best regards, -- KUWAMURA Shin'ya ----Next_Part(Thu_Mar_12_13_16_09_2009_254)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="add-linux-scatterlist.patch" # HG changeset patch # User KUWAMURA Shin'ya # Date 1236819819 -32400 # Node ID 18df73c9ec3b8498466dcdab5031c53f93a5b061 # Parent dee5bc89873e33641c5ad4f5ae3990e8a5ddc246 PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12 Signed-off-by: KUWAMURA Shin'ya diff -r dee5bc89873e -r 18df73c9ec3b unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h Thu Mar 12 10:03:39 2009 +0900 @@ -0,0 +1,10 @@ +#ifndef _LINUX_SCATTERLIST_H +#define _LINUX_SCATTERLIST_H + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) +#error "This version of Linux should not need compat linux/scatterlist.h" +#endif + +#include + +#endif /* _LINUX_SCATTERLIST_H */ ----Next_Part(Thu_Mar_12_13_16_09_2009_254)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Thu_Mar_12_13_16_09_2009_254)----