]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpu: ion: Remove __GFP_NO_KSWAPD
authorArve Hjønnevåg <arve@android.com>
Fri, 13 Dec 2013 22:24:41 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:41 +0000 (08:55 -0800)
It no longer exists.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_system_heap.c

index d4f0a564c459de702e4b680064e6c3c16634783b..344f7538400af59366e386f4f28452b839fd4255 100644 (file)
@@ -27,8 +27,8 @@
 #include "ion_priv.h"
 
 static unsigned int high_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO |
-                                           __GFP_NOWARN | __GFP_NORETRY |
-                                           __GFP_NO_KSWAPD) & ~__GFP_WAIT;
+                                           __GFP_NOWARN | __GFP_NORETRY) &
+                                          ~__GFP_WAIT;
 static unsigned int low_order_gfp_flags  = (GFP_HIGHUSER | __GFP_ZERO |
                                         __GFP_NOWARN);
 static const unsigned int orders[] = {8, 4, 0};