e1000e: use GFP_KERNEL allocations at init time
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 12 Jul 2011 16:10:12 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2011 05:07:56 +0000 (22:07 -0700)
commitc2fed9965c60e1f989f57889357c557f7b907ab7
treeadc5e1c7a20f1d31c2a8aa3959d1948bf484f91d
parenta3d72d5d01b82a86f3b16ca1918d2040b1acba8c
e1000e: use GFP_KERNEL allocations at init time

In process and sleep allowed context, favor GFP_KERNEL allocations over
GFP_ATOMIC ones.

-v2: fixed checkpatch.pl warnings

CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Ben Greear <greearb@candelatech.com>
CC: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c