summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/sleep.S
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-01-06 00:11:44 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:33:33 -0800
commit7ee1dd3fee22f15728f545d266403fc977e1eb99 (patch)
treee2f9f42b0731d5006fa329a590069be6787af1de /arch/frv/kernel/sleep.S
parent5c40f7f373889930d176a515ec375b60a70b5b49 (diff)
downloadop-kernel-dev-7ee1dd3fee22f15728f545d266403fc977e1eb99.zip
op-kernel-dev-7ee1dd3fee22f15728f545d266403fc977e1eb99.tar.gz
[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 <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/kernel/sleep.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud