From: David Howells Date: Fri, 6 Jan 2006 08:11:44 +0000 (-0800) Subject: [PATCH] FRV: Make futex code compilable on nommu [try #2] X-Git-Tag: v2.6.16-rc1~936^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ee1dd3fee22f15728f545d266403fc977e1eb99;p=pandora-kernel.git [PATCH] FRV: Make futex code compilable on nommu [try #2] Make the futex code compilable and usable on NOMMU by making the attempt to handle page faults conditional on CONFIG_MMU. If this is not enabled, then we can assume that EFAULT returned from futex_atomic_op_inuser() is not recoverable, and that the address lies outside of valid memory. handle_mm_fault() is made to BUG if called on NOMMU without attempting to invoke the actual handler (__handle_mm_fault). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed