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

From: richard -rw- weinberger
Date: Sat May 25 2013 - 09:44:35 EST


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>

--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/