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] compile error of HVM pv drivers

On Mon, 2007-07-30 at 15:47 +0100, Kieran Mansley wrote:
> On Mon, 2007-07-30 at 22:39 +0800, Zhao, Yunfeng wrote:
> > Hi, Kieran
> > I just checked 2.6.16 kernel source.
> > netif_tx_lock_bh is not in the code of 2.6.16, but it is in 2.6.18
> 
> 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.

In light of Keir's reply pointing out the compat definition of
netif_tx_lock_bh() this is clearly not going to help.  Sorry.  I thought
it was an odd way of the compiler to express that error.

Kieran


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