diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-06-11 10:25:43 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 12:39:17 -0400 |
commit | 0307e8d024dffc00743fb54b9afa920a346f1adb (patch) | |
tree | 3e6ea1c677105501fc9efb57105cb23cec4e8f2d /arch/mips/sgi-ip27/ip27-irq.c | |
parent | e1701fb2e2f3c02760684e26007e3379be23b690 (diff) |
[MIPS] Fix futex_atomic_op_inuser.
I found that NPTL's pthread_cond_signal() does not work properly on
kernels compiled by gcc 4.1.x. I suppose inline asm for
__futex_atomic_op() was wrong. I suppose:
1. "=&r" constraint should be used for oldval.
2. Instead of "r" (uaddr), "=R" (*uaddr) for output and "R" (*uaddr)
for input should be used.
3. "memory" should be added to the clobber list.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-irq.c')
0 files changed, 0 insertions, 0 deletions