aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-traffic.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-29 17:53:20 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-29 17:53:20 -0700
commita4fe91ee711f4e955ea85ab05b092cfe384b073e (patch)
treeb51cbc246b73d82131e8d2172268cea180186858 /drivers/net/vxge/vxge-traffic.h
parent5974700c288aa160fd02b1cb9294173664bcc172 (diff)
downloadkernel_samsung_smdk4412-a4fe91ee711f4e955ea85ab05b092cfe384b073e.zip
kernel_samsung_smdk4412-a4fe91ee711f4e955ea85ab05b092cfe384b073e.tar.gz
kernel_samsung_smdk4412-a4fe91ee711f4e955ea85ab05b092cfe384b073e.tar.bz2
Revert "vxge: use max() instead of VXGE_HW_SET_LEVEL"
This reverts commit 011983048a120e520147361be1067dd82343038e. Causes warnings in the build as reported by Stephen Rothwell. So this change is worse than what it's curing. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-traffic.h')
-rw-r--r--drivers/net/vxge/vxge-traffic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-traffic.h b/drivers/net/vxge/vxge-traffic.h
index d03f3d3..7567a11 100644
--- a/drivers/net/vxge/vxge-traffic.h
+++ b/drivers/net/vxge/vxge-traffic.h
@@ -110,6 +110,8 @@ enum vxge_hw_event {
VXGE_HW_EVENT_SLOT_FREEZE = VXGE_HW_EVENT_BASE + 14,
};
+#define VXGE_HW_SET_LEVEL(a, b) (((a) > (b)) ? (a) : (b))
+
/*
* struct vxge_hw_mempool_dma - Represents DMA objects passed to the
caller.