diff options
author | Tony Luck <tony.luck@intel.com> | 2005-10-20 19:41:44 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-20 19:41:44 +0200 |
commit | 9cec58dc138d6fcad9f447a19c8ff69f6540e667 (patch) | |
tree | 4fe1cca94fdba8b705c87615bee06d3346f687ce /drivers/net/sungem.h | |
parent | [PATCH] Removed remaining PCI specific references from swiotlb.c (diff) | |
parent | [PATCH] Fix handling spurious page fault for hugetlb region (diff) | |
download | linux-9cec58dc138d6fcad9f447a19c8ff69f6540e667.tar.xz linux-9cec58dc138d6fcad9f447a19c8ff69f6540e667.zip |
Update from upstream with manual merge of Yasunori Goto's
changes to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341
since this file has been moved from arch/ia64/lib/swiotlb.c to
lib/swiotlb.c
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/net/sungem.h')
-rw-r--r-- | drivers/net/sungem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index ff8ae5f79970..13006d759ad8 100644 --- a/drivers/net/sungem.h +++ b/drivers/net/sungem.h @@ -1035,7 +1035,8 @@ struct gem { #define ALIGNED_RX_SKB_ADDR(addr) \ ((((unsigned long)(addr) + (64UL - 1UL)) & ~(64UL - 1UL)) - (unsigned long)(addr)) -static __inline__ struct sk_buff *gem_alloc_skb(int size, int gfp_flags) +static __inline__ struct sk_buff *gem_alloc_skb(int size, + gfp_t gfp_flags) { struct sk_buff *skb = alloc_skb(size + 64, gfp_flags); |