summaryrefslogtreecommitdiff
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-07-15 03:46:52 (GMT)
committerRich Felker <dalias@libc.org>2016-07-31 03:33:32 (GMT)
commit72cc564f16ca9f61a1d13f35cb247631d888a78e (patch)
treecb988c15311990065e9c71a9890c5cc448caefdb /lib/irq_poll.c
parent57155c6523074dd937b8feafcfaa98c82218faa6 (diff)
downloadlinux-72cc564f16ca9f61a1d13f35cb247631d888a78e.tar.xz
sh: fix futex/robust_list on nommu models
The futex cmpxchg runtime testing in kernel/futex.c depends on accesses to address 0 producing EFAULT, which obviously does not work on nommu. Since SH always has cmpxchg, disable the broken runtime detection. At some point this should be fixed at the kernel/futex.c level. UP machines can always provide a working cmpxchg with interrupt masking, and SMP cannot function without a working cmpxchg anyway. Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions