Re: Two bugs in kernel 2.6.15-rc5

From: Andrew Morton
Date: Sat Dec 17 2005 - 15:36:43 EST


Luke Yang <luke.adi@xxxxxxxxx> wrote:
>
> Hi all,
>
> During porting Blackfin architecture to latest kernel, I found two issues:
>
> 1. kernel/futex.c invokes handle_mm_fault() function, which calls
> __handle_mm_fault(). But __handle_mm_fault() is defined in
> mm/memory.c, which is only compiled when CONFIG_MMU is defined. So
> those without MMUs can not use futex any more.
>
> How do you think this shall be fixed? Use #ifdef CONFIG_MMU ... #endif?

See frv-make-futex-code-compilable-on-nommu.patch from recent -mm kernels.

-
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/