summaryrefslogtreecommitdiff
path: root/include/linux/bootmem.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-05-17 13:56:13 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-05-17 13:56:13 +1000
commita6c3ee8b48d806fac5e727bdbc2da6c441defb04 (patch)
treec0ff2e6cf6f192c29fd5cf2d3adc2a0e1d7fc626 /include/linux/bootmem.h
parentf92b13e2104a108bcaedeac0e6ea53fb48571374 (diff)
parentcd597f9d8c981e35303ed6b1cc41361a53ac9d7b (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'include/linux/bootmem.h')
-rw-r--r--include/linux/bootmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h
index 962164d36506..dbaf312b3317 100644
--- a/include/linux/bootmem.h
+++ b/include/linux/bootmem.h
@@ -358,6 +358,8 @@ extern void *alloc_large_system_hash(const char *tablename,
#define HASH_EARLY 0x00000001 /* Allocating during early boot? */
#define HASH_SMALL 0x00000002 /* sub-page allocation allowed, min
* shift passed via *_hash_shift */
+#define HASH_ZERO 0x00000004 /* Zero allocated hash table */
+#define HASH_ADAPT 0x00000008 /* Adaptive scale for large memory */
/* Only NUMA needs hash distribution. 64bit NUMA architectures have
* sufficient vmalloc space.