Re: linux-next: build failure after merge of the akpm tree

From: Stephen Rothwell
Date: Mon Mar 07 2022 - 16:27:59 EST


Hi Johannes,

On Mon, 7 Mar 2022 11:43:21 -0500 Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
>
> Sorry about that. This should fix it:
>
> ---
> From a4d90a5faa418d98f925abe47b1a4fcffc4283f9 Mon Sep 17 00:00:00 2001
> From: Johannes Weiner <hannes@xxxxxxxxxxx>
> Date: Mon, 7 Mar 2022 11:38:42 -0500
> Subject: [PATCH] mm: madvise: MADV_DONTNEED_LOCKED fix
>
> On MiPS:
> mm/madvise.c:55:7: error: 'MADV_DONTNEED_LOCKED' undeclared (first use in this function); did you mean 'MADV_DONTNEED'?
>
> Define MADV_DONTNEED_LOCKED on archs that don't use the common mman.h
>
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>

Thanks.

Added to linux-next today.

--
Cheers,
Stephen Rothwell

Attachment: pgpZukgqQV569.pgp
Description: OpenPGP digital signature