|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] PV-on-HVML: Remove extra parentheses in n
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1188486822 -3600
# Node ID 3738840029b4286721ce51ccd3444affeedb69e8
# Parent 8f1c807ace978eab1292f0a4afbbdce5eb475af4
PV-on-HVML: Remove extra parentheses in netif_tx_lock_bh and netif_tx_unlock_bh
macros, as it caused problems when compiling against a SLES9 tree.
Signed-off-by: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
---
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 8f1c807ace97 -r 3738840029b4
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
--- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Thu Aug
30 15:39:13 2007 +0100
+++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Thu Aug
30 16:13:42 2007 +0100
@@ -108,8 +108,8 @@ extern char *kasprintf(gfp_t gfp, const
#endif
#if defined(_LINUX_NETDEVICE_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
-#define netif_tx_lock_bh(dev) (spin_lock_bh(&(dev)->xmit_lock))
-#define netif_tx_unlock_bh(dev) (spin_unlock_bh(&(dev)->xmit_lock))
+#define netif_tx_lock_bh(dev) spin_lock_bh(&(dev)->xmit_lock)
+#define netif_tx_unlock_bh(dev) spin_unlock_bh(&(dev)->xmit_lock)
#endif
#if defined(__LINUX_SEQLOCK_H) && !defined(DEFINE_SEQLOCK)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] PV-on-HVML: Remove extra parentheses in netif_tx_lock_bh and netif_tx_unlock_bh,
Xen patchbot-unstable <=
|
|
|
|
|