From: Atsushi Nemoto Date: Sun, 11 Jun 2006 14:25:43 +0000 (+0900) Subject: [MIPS] Fix futex_atomic_op_inuser. X-Git-Tag: v2.6.18-rc1~1109^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0307e8d024dffc00743fb54b9afa920a346f1adb;p=pandora-kernel.git [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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed