Re: build error with latest git kernel for a user mode linux build
From: richard -rw- weinberger
Date: Fri Apr 12 2013 - 14:39:54 EST
On Fri, Apr 12, 2013 at 7:51 PM, Toralf Förster <toralf.foerster@xxxxxx> wrote:
> On 04/12/2013 07:41 PM, richard -rw- weinberger wrote:
>> You .config build perfectly fine here.
>> Have you tried a "make mrproper"?
> ick - I forgot to un-apply your patch you sent to me related to the trinity-madvise UML problem - compiles fine now again
>
> but this now seems not to work any longer :
>
> $ cat devel/stub_pte_fix.diff
> diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
> index b30f34a..db2d885 100644
> --- a/arch/um/include/asm/Kbuild
> +++ b/arch/um/include/asm/Kbuild
> @@ -3,3 +3,4 @@ generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h
> generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h
> generic-y += switch_to.h clkdev.h
> generic-y += trace_clock.h
> +header-y += mman.h
> diff --git a/arch/um/include/asm/mman.h b/arch/um/include/asm/mman.h
> new file mode 100644
> index 0000000..d8fb362
> --- /dev/null
> +++ b/arch/um/include/asm/mman.h
> @@ -0,0 +1,10 @@
> +#ifndef __UM_MMAN_H__
> ...
The attached patch is an updated version of stub_pte_fix.diff. It
should fix your issues. :-)
--
Thanks,
//richard
Attachment:
stub_pte_fix.diff
Description: Binary data