WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [xen-devel][PATCH] PV driver compatibility patch

To: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>
Subject: Re: [xen-devel][PATCH] PV driver compatibility patch
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Tue, 15 May 2007 18:11:56 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 May 2007 10:10:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46499FCB.E57C.0030.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46499FCB.E57C.0030.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Isn't there already enough compat shim in
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h for
this stuff?

xenbus_probe.c already has the required #include, what is the error you
saw?

Ian.

On Tue, 2007-05-15 at 11:05 -0600, Ky Srinivasan wrote:
> This patch fixes compilation issues on 2.6.16 kernels.
> 
> Signed-off-by: K. Y. Srinivasan  <ksrinivasan@xxxxxxxxxx>
> 


> ---
> linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c      2007-05-14
> 13:45:04.000000000 -0400
> +++
> linux-2.6-xen-sparse-new/drivers/xen/xenbus/xenbus_probe.c  2007-05-15
> 10:55:31.000000000 -0400
> @@ -67,8 +67,11 @@
>  static unsigned long xen_store_mfn;
>  
>  extern struct mutex xenwatch_mutex;
> -
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
> +static struct notifier_block *xenstore_chain;
> +#else
>  static ATOMIC_NOTIFIER_HEAD(xenstore_chain);
> +#endif




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel