mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
mm: provide a print_vma_addr stub for !CONFIG_MMU
Link: http://lkml.kernel.org/r/20190703122359.18200-3-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0bf5f94923
commit
89165b8b0e
1 changed files with 6 additions and 0 deletions
|
@ -2767,7 +2767,13 @@ extern int randomize_va_space;
|
|||
#endif
|
||||
|
||||
const char * arch_vma_name(struct vm_area_struct *vma);
|
||||
#ifdef CONFIG_MMU
|
||||
void print_vma_addr(char *prefix, unsigned long rip);
|
||||
#else
|
||||
static inline void print_vma_addr(char *prefix, unsigned long rip)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
void *sparse_buffer_alloc(unsigned long size);
|
||||
struct page *sparse_mem_map_populate(unsigned long pnum, int nid,
|
||||
|
|
Loading…
Reference in a new issue