diff options
author | Brian Behlendorf <[email protected]> | 2010-05-20 14:16:59 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-05-20 14:16:59 -0700 |
commit | 23d91792efdc42779605025e15b03d63226cff6a (patch) | |
tree | 5cf1738e86ededc385e8796fafb9d08681ec085f /module/splat | |
parent | 3626ae6a7008b2d4d16ddd01defd45a8d7aac3b8 (diff) |
Use KM_NODEBUG macro in preference to __GFP_NOWARN.
Diffstat (limited to 'module/splat')
-rw-r--r-- | module/splat/splat-kmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/splat/splat-kmem.c b/module/splat/splat-kmem.c index e3b6a781c..168ab0ced 100644 --- a/module/splat/splat-kmem.c +++ b/module/splat/splat-kmem.c @@ -94,7 +94,7 @@ splat_kmem_test1(struct file *file, void *arg) count = 0; for (i = 0; i < SPLAT_KMEM_ALLOC_COUNT; i++) { - ptr[i] = kmem_alloc(size, KM_SLEEP | __GFP_NOWARN); + ptr[i] = kmem_alloc(size, KM_SLEEP | KM_NODEBUG); if (ptr[i]) count++; } @@ -126,7 +126,7 @@ splat_kmem_test2(struct file *file, void *arg) count = 0; for (i = 0; i < SPLAT_KMEM_ALLOC_COUNT; i++) { - ptr[i] = kmem_zalloc(size, KM_SLEEP | __GFP_NOWARN); + ptr[i] = kmem_zalloc(size, KM_SLEEP | KM_NODEBUG); if (ptr[i]) count++; } |