Re: UML build broken since 3.0.75 (also affects 3.2.x)

From: Ben Hutchings
Date: Mon May 27 2013 - 23:32:13 EST


On Sat, 2013-05-25 at 15:44 +0200, richard -rw- weinberger wrote:
> On Sat, May 25, 2013 at 2:18 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Sat, May 25, 2013 at 05:55:22PM +0700, Antoine Martin wrote:
> >> Linus' vm patches broke the UML build in 3.0.75 onwards:
> >>
> >> CC mm/memory.o
> >> mm/memory.c: In function âvm_iomap_memoryâ:
> >> mm/memory.c:2363:2: error: implicit declaration of function
> >> âio_remap_pfn_rangeâ [-Werror=implicit-function-declaration]
> >> cc1: some warnings being treated as errors
> >> make[1]: *** [mm/memory.o] Error 1
> >> make: *** [mm] Error 2
> >>
> >>
> >> This fix is just a copy of what is found in later kernels.
> >
> > What is that git commit id?
>
> commit 4d94d6d030adfdea4837694d293ec6918d133ab2
> Author: Richard Weinberger <richard@xxxxxx>
> Date: Tue Feb 7 01:22:47 2012 +0100
>
> um: Serve io_remap_pfn_range()
>
> At some places io_remap_pfn_range() is needed.
> UML has to serve it like all other archs do.
>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>

Queued up for 3.2, thanks all.

Ben.

--
Ben Hutchings
If at first you don't succeed, you're doing about average.

Attachment: signature.asc
Description: This is a digitally signed message part