From: Jun S. <ju...@us...> - 2001-08-23 23:27:17
|
Update of /cvsroot/linux-mips/linux/arch/mips/kernel In directory usw-pr-cvs1:/tmp/cvs-serv26871/arch/mips/kernel Modified Files: sysmips.c Log Message: Dilema between 'R' and 'm'. 'R' is in theory more correct constraint but does not work in 2.95. 'm' works now. There are other places which may need the same change, such as xchg_u32() in system.h. Index: sysmips.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/sysmips.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sysmips.c 2001/08/23 19:07:28 1.5 --- sysmips.c 2001/08/23 23:27:14 1.6 *************** *** 119,123 **** ".word 2b,4b\n\t" ".previous" ! : "=&r" (ret), "=R" (*ptr), "=r" (err), "=&r" (tmp) : "r" (val), "1" (*ptr), "2" (0), "i" (-EFAULT)); #else --- 119,123 ---- ".word 2b,4b\n\t" ".previous" ! : "=&r" (ret), "=m" (*ptr), "=r" (err), "=&r" (tmp) : "r" (val), "1" (*ptr), "2" (0), "i" (-EFAULT)); #else |