|
@@ -152,7 +152,7 @@ struct sw_rx_page {
|
|
#define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT)
|
|
#define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT)
|
|
#define SGE_PAGE_SIZE PAGE_SIZE
|
|
#define SGE_PAGE_SIZE PAGE_SIZE
|
|
#define SGE_PAGE_SHIFT PAGE_SHIFT
|
|
#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)
|
|
|
|
|
|
#define BCM_RX_ETH_PAYLOAD_ALIGN 64
|
|
#define BCM_RX_ETH_PAYLOAD_ALIGN 64
|
|
|
|
|