Re: [mmotm:master 174/397] mm/madvise.c:42:7: error: 'MADV_FREE' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 27, 2014 at 4:18 AM, Minchan Kim <minchan@xxxxxxxxxx> wrote:
> From 5ca29f2f9ed96d1a0c9ac4209696839dcf5f0e49 Mon Sep 17 00:00:00 2001
> From: Minchan Kim <minchan@xxxxxxxxxx>
> Date: Thu, 27 Nov 2014 10:02:00 +0900
> Subject: [PATCH] mm: define MADV_FREE for some arches
>
> Most architectures use asm-generic, but alpha, mips, parisc, xtensa
> need their own definitions.
>
> This patch defines MADV_FREE for them so it should fix build break
> for their architectures.
>
> Maybe, I should split and feed piecies to arch maintainers but
> included here for mmotm convenience.
>
> Cc: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
> Cc: Richard Henderson <rth@xxxxxxxxxxx>
> Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
> Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxx>
> Cc: Helge Deller <deller@xxxxxx>
> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> Cc: Chris Zankel <chris@xxxxxxxxxx>
> Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>
> ---
>  arch/alpha/include/uapi/asm/mman.h  | 1 +
>  arch/mips/include/uapi/asm/mman.h   | 1 +
>  arch/parisc/include/uapi/asm/mman.h | 1 +
>  arch/xtensa/include/uapi/asm/mman.h | 1 +
>  4 files changed, 4 insertions(+)

Xtensa part:
Acked-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

-- 
Thanks.
-- Max

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]