aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-15 07:53:16 -0400
committerJeff Garzik <jeff@garzik.org>2007-08-25 02:30:59 -0400
commit09e06f652d86d358583df0b601c0c4d11923dd88 (patch)
tree587e11de0b37968fad04eab8a2662d0b34f27233 /drivers/net
parentba685fb2abd71162bea6895a99449c1071b01402 (diff)
Don't use GFP_DMA for zone allocation.
IP32 doesn't even have a ZONE_DMA so no point in using GFP_DMA in any IP32-specific device driver. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/meth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/meth.c b/drivers/net/meth.c
index 92b403bf38b0..32bed6bc6c06 100644
--- a/drivers/net/meth.c
+++ b/drivers/net/meth.c
@@ -405,7 +405,7 @@ static void meth_rx(struct net_device* dev, unsigned long int_status)
405 priv->stats.rx_length_errors++; 405 priv->stats.rx_length_errors++;
406 skb = priv->rx_skbs[priv->rx_write]; 406 skb = priv->rx_skbs[priv->rx_write];
407 } else { 407 } else {
408 skb = alloc_skb(METH_RX_BUFF_SIZE, GFP_ATOMIC | GFP_DMA); 408 skb = alloc_skb(METH_RX_BUFF_SIZE, GFP_ATOMIC);
409 if (!skb) { 409 if (!skb) {
410 /* Ouch! No memory! Drop packet on the floor */ 410 /* Ouch! No memory! Drop packet on the floor */
411 DPRINTK("No mem: dropping packet\n"); 411 DPRINTK("No mem: dropping packet\n");