Don't use GFP_DMA for zone allocation.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 15 Aug 2007 11:53:16 +0000 (12:53 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 25 Aug 2007 06:30:59 +0000 (02:30 -0400)
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>
drivers/net/meth.c

index 92b403bf38b0f438598c71faa9622ef9ae4cbd06..32bed6bc6c064ba6c660ff454775a20f43bade13 100644 (file)
@@ -405,7 +405,7 @@ static void meth_rx(struct net_device* dev, unsigned long int_status)
                                priv->stats.rx_length_errors++;
                                skb = priv->rx_skbs[priv->rx_write];
                        } else {
-                               skb = alloc_skb(METH_RX_BUFF_SIZE, GFP_ATOMIC | GFP_DMA);
+                               skb = alloc_skb(METH_RX_BUFF_SIZE, GFP_ATOMIC);
                                if (!skb) {
                                        /* Ouch! No memory! Drop packet on the floor */
                                        DPRINTK("No mem: dropping packet\n");