[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e5827553-0924-28ee-3c8a-d29b4c01defd@arm.com>
Date: Tue, 11 Jun 2019 11:11:42 +0100
From: Vladimir Murzin <vladimir.murzin@....com>
To: Christoph Hellwig <hch@....de>, Palmer Dabbelt <palmer@...ive.com>
Cc: Damien Le Moal <damien.lemoal@....com>,
linux-riscv@...ts.infradead.org, uclinux-dev@...inux.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/17] mm: provide a print_vma_addr stub for !CONFIG_MMU
On 6/10/19 11:16 PM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@....de>
> ---
> include/linux/mm.h | 6 ++++++
> 1 file changed, 6 insertions(+)
FWIW:
Reviewed-by: Vladimir Murzin <vladimir.murzin@....com>
>
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index dd0b5f4e1e45..69843ee0c5f8 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2756,7 +2756,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,
>
Powered by blists - more mailing lists