mtd: nand: nandsim: convert to memalloc_noreclaim_*()
authorVlastimil Babka <[email protected]>
Mon, 8 May 2017 22:59:57 +0000 (15:59 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:15 +0000 (17:15 -0700)
commitdcbe82149cc9d03dcdf7cd1a75d5541de7c14be1
tree542c9cb63edc70cfe402c9cdce4fc0a8f1c19bd2
parentf108304872b8d987ceab195174ba41153fb70bf6
mtd: nand: nandsim: convert to memalloc_noreclaim_*()

Nandsim has own functions set_memalloc() and clear_memalloc() for robust
setting and clearing of PF_MEMALLOC.  Replace them by the new generic
helpers.  No functional change.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vlastimil Babka <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Chris Leech <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Lee Duncan <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Adrian Hunter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mtd/nand/nandsim.c