summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/slab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 6dad5653..c17fb5d5 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -20,6 +20,8 @@
#define ARCH_KMALLOC_MINALIGN 16
#define KMALLOC_MAX_SIZE SIZE_MAX
+#define MAX_PAGE_ORDER 10
+
static inline size_t kmalloc_size_roundup(size_t s)
{
return roundup_pow_of_two(s);