]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 2 Feb 2012 13:19:00 +0000 (21:19 +0800)
commit7a4394757a3224c9cdc584df87a1dbfb00bce0a9
treeeb0c5b7bb3b8f4036aa51489f763f754dbc0740b
parent10dada35011d557c2c9d6d7626f63fe2a1127a70
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>
(cherry picked from commit c2fed9965c60e1f989f57889357c557f7b907ab7)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c