git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/memblock.c: skip kmemleak for kasan_init()
[sfrench/cifs-2.6.git]
/
include
/
linux
/
memblock.h
diff --git
a/include/linux/memblock.h
b/include/linux/memblock.h
index 5f74ba623dbdd396c4505aa66435c24c88a0ff4f..64c41cf455906ab750d042f93410fa0c4c5aded6 100644
(file)
--- a/
include/linux/memblock.h
+++ b/
include/linux/memblock.h
@@
-319,6
+319,7
@@
static inline int memblock_get_region_node(const struct memblock_region *r)
/* Flags for memblock allocation APIs */
#define MEMBLOCK_ALLOC_ANYWHERE (~(phys_addr_t)0)
#define MEMBLOCK_ALLOC_ACCESSIBLE 0
+#define MEMBLOCK_ALLOC_KASAN 1
/* We are using top down, so it is safe to use 0 here */
#define MEMBLOCK_LOW_LIMIT 0