Re: metag build error in -next due to 'fs, elf: drop MAP_FIXED usage from elf_map'

From: James Hogan
Date: Tue Jan 09 2018 - 06:40:12 EST


On Sun, Jan 07, 2018 at 08:12:16PM -0800, Guenter Roeck wrote:
> On Sun, Jan 07, 2018 at 09:50:31AM +0100, Michal Hocko wrote:
> > On Sat 06-01-18 17:07:33, Guenter Roeck wrote:
> > > The following build error is seen when building metag:meta2_defconfig
> > > or metag:tz1090_defconfig.
> > >
> > > arch/metag/kernel/process.c: In function '__metag_elf_map':
> > > arch/metag/kernel/process.c:421: error: 'tsk' undeclared
> >
> > Sorry about that and thanks for your report. The following should fix
> > the issue. Andrew, could you fold it to the original patch please?
> > ---
> > From 64da2e0c134ecf3936a4c36b949bcf2cdc98977e Mon Sep 17 00:00:00 2001
> > From: Michal Hocko <mhocko@xxxxxxxx>
> > Date: Sun, 7 Jan 2018 09:47:41 +0100
> > Subject: [PATCH] fs-elf-drop-map_fixed-usage-from-elf_map-fix-fix
> >
> > The following build error is seen when building metag:meta2_defconfig
> > or metag:tz1090_defconfig.
> >
> > arch/metag/kernel/process.c: In function '__metag_elf_map':
> > arch/metag/kernel/process.c:421: error: 'tsk' undeclared
> >
> > Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
>
> Compiled and booted with qemu.
>
> Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>
>
> Guenter

Thanks guys for catching + fixing!

Cheers
James

Attachment: signature.asc
Description: Digital signature