diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-10 13:04:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-10 13:04:16 +0100 |
commit | d5df2a16133f4eb22f9a6bbc07723443568d362f (patch) | |
tree | 7135c9054db234feec6001c6d938a715b29e2370 /drivers/net/bnx2x.h | |
parent | qlge: bugfix: Fix endian issue related to rx buffers. (diff) | |
parent | bnx2x: Using DMAE to initialize the chip (diff) | |
download | linux-d5df2a16133f4eb22f9a6bbc07723443568d362f.tar.xz linux-d5df2a16133f4eb22f9a6bbc07723443568d362f.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/bnx2x_main.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/rt2x00/rt73usb.c
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 408eae7d6cc6..a329bee25550 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -160,7 +160,7 @@ struct sw_rx_page { #define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT) #define SGE_PAGE_SIZE PAGE_SIZE #define SGE_PAGE_SHIFT PAGE_SHIFT -#define SGE_PAGE_ALIGN(addr) PAGE_ALIGN(addr) +#define SGE_PAGE_ALIGN(addr) PAGE_ALIGN((typeof(PAGE_SIZE))addr) /* SGE ring related macros */ #define NUM_RX_SGE_PAGES 2 |