diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 22:54:21 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 22:54:21 -0400 |
| commit | d8f797c60661a90ee26ca9330cf85ede9aa2ec17 (patch) | |
| tree | 5038609885fc3e4cb7f329d974875ac4411c6af5 /include/linux/vmalloc.h | |
| parent | 8fd708157a592a376c4d0b3b2ba23b9e9f79caa5 (diff) | |
| parent | 5ed02dbb497422bf225783f46e6eadd237d23d6b (diff) | |
Merge tag 'v4.12-rc3' into next
Sync with mainline to bring in changes in platform drovers dropping
calls to sparse_keymap_free() so that we can remove it for good.
Diffstat (limited to 'include/linux/vmalloc.h')
| -rw-r--r-- | include/linux/vmalloc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index d68edffbf142..2d92dd002abd 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h | |||
| @@ -80,6 +80,17 @@ extern void *__vmalloc_node_range(unsigned long size, unsigned long align, | |||
| 80 | unsigned long start, unsigned long end, gfp_t gfp_mask, | 80 | unsigned long start, unsigned long end, gfp_t gfp_mask, |
| 81 | pgprot_t prot, unsigned long vm_flags, int node, | 81 | pgprot_t prot, unsigned long vm_flags, int node, |
| 82 | const void *caller); | 82 | const void *caller); |
| 83 | #ifndef CONFIG_MMU | ||
| 84 | extern void *__vmalloc_node_flags(unsigned long size, int node, gfp_t flags); | ||
| 85 | static inline void *__vmalloc_node_flags_caller(unsigned long size, int node, | ||
| 86 | gfp_t flags, void *caller) | ||
| 87 | { | ||
| 88 | return __vmalloc_node_flags(size, node, flags); | ||
| 89 | } | ||
| 90 | #else | ||
| 91 | extern void *__vmalloc_node_flags_caller(unsigned long size, | ||
| 92 | int node, gfp_t flags, void *caller); | ||
| 93 | #endif | ||
| 83 | 94 | ||
| 84 | extern void vfree(const void *addr); | 95 | extern void vfree(const void *addr); |
| 85 | extern void vfree_atomic(const void *addr); | 96 | extern void vfree_atomic(const void *addr); |
