aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-05-20 14:16:59 -0700
committerBrian Behlendorf <[email protected]>2010-05-20 14:16:59 -0700
commit23d91792efdc42779605025e15b03d63226cff6a (patch)
tree5cf1738e86ededc385e8796fafb9d08681ec085f /include/sys
parent3626ae6a7008b2d4d16ddd01defd45a8d7aac3b8 (diff)
Use KM_NODEBUG macro in preference to __GFP_NOWARN.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/kmem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/kmem.h b/include/sys/kmem.h
index 257f2d856..2dd73a8e5 100644
--- a/include/sys/kmem.h
+++ b/include/sys/kmem.h
@@ -49,6 +49,7 @@
#define KM_PUSHPAGE (KM_SLEEP | __GFP_HIGH)
#define KM_VMFLAGS GFP_LEVEL_MASK
#define KM_FLAGS __GFP_BITS_MASK
+#define KM_NODEBUG __GFP_NOWARN
/*
* Used internally, the kernel does not need to support this flag