[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.