ia64/xen-unstable
changeset 15806:3738840029b4
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>
macros, as it caused problems when compiling against a SLES9 tree.
Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
author | kfraser@localhost.localdomain |
---|---|
date | Thu Aug 30 16:13:42 2007 +0100 (2007-08-30) |
parents | 8f1c807ace97 |
children | fba9884685fb |
files | unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h |
line diff
1.1 --- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Thu Aug 30 15:39:13 2007 +0100 1.2 +++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Thu Aug 30 16:13:42 2007 +0100 1.3 @@ -108,8 +108,8 @@ extern char *kasprintf(gfp_t gfp, const 1.4 #endif 1.5 1.6 #if defined(_LINUX_NETDEVICE_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) 1.7 -#define netif_tx_lock_bh(dev) (spin_lock_bh(&(dev)->xmit_lock)) 1.8 -#define netif_tx_unlock_bh(dev) (spin_unlock_bh(&(dev)->xmit_lock)) 1.9 +#define netif_tx_lock_bh(dev) spin_lock_bh(&(dev)->xmit_lock) 1.10 +#define netif_tx_unlock_bh(dev) spin_unlock_bh(&(dev)->xmit_lock) 1.11 #endif 1.12 1.13 #if defined(__LINUX_SEQLOCK_H) && !defined(DEFINE_SEQLOCK)