diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-29 17:53:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-29 17:53:20 -0700 |
commit | a4fe91ee711f4e955ea85ab05b092cfe384b073e (patch) | |
tree | b51cbc246b73d82131e8d2172268cea180186858 /drivers/net/vxge/vxge-traffic.h | |
parent | 5974700c288aa160fd02b1cb9294173664bcc172 (diff) | |
download | kernel_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.h | 2 |
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. |