diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-30 16:13:42 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-30 16:13:42 +0100 |
commit | f4f4412534fa757de3aaeaaa8d67214c5763751b (patch) | |
tree | f3aebe91e9fe90e18796b8129c5b3acd84f52dce /unmodified_drivers | |
parent | 4a517de8f6e71b6358f3a83b0962e1248d25f44c (diff) | |
download | xen-f4f4412534fa757de3aaeaaa8d67214c5763751b.tar.gz xen-f4f4412534fa757de3aaeaaa8d67214c5763751b.tar.bz2 xen-f4f4412534fa757de3aaeaaa8d67214c5763751b.zip |
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@virtualiron.com>
Diffstat (limited to 'unmodified_drivers')
-rw-r--r-- | unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h index 0caab22bd6..ad53d95b79 100644 --- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h +++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h @@ -108,8 +108,8 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...) #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) |