ftmac100: use GFP_ATOMIC allocations where needed
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 14 Mar 2011 22:40:39 +0000 (15:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 22:40:39 +0000 (15:40 -0700)
commitc05e7ac99c32d4e5d8be272c0ba95b0fdcab431b
treebc1fcf05542a924b956f68940d044bb163be1547
parentdcf4ae2dba541eed96afb0ba13e562defb8543e6
ftmac100: use GFP_ATOMIC allocations where needed

When running in softirq context, we should use GFP_ATOMIC allocations
instead of GFP_KERNEL ones.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Acked-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ftmac100.c