From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: compile error of HVM pv drivers Date: Mon, 30 Jul 2007 15:51:41 +0100 Message-ID: References: <1185806843.31234.3.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1185806843.31234.3.camel@moonstone.uk.level5networks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kieran Mansley , "Zhao, Yunfeng" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 30/7/07 15:47, "Kieran Mansley" wrote: > In that case replacing the calls (there are two in that file) to > netif_tx_lock_bh() with: > > spin_lock_bh(&vif_state->np->netdev->xmit_lock); > > And similarly the calls to netif_tx_unlock_bh() with spin_unlock_bh(), > may solve your problem. > > If this works for you I'll make a patch that uses the kernel version to > decide which is appropriate. Compat issues when building PV-on-HVM drivers are patched up out-of-band in the special unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h header file. -- Keir