|
From: Kenn H. <ke...@us...> - 2005-02-28 22:15:05
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1373/include/asm-vax Modified Files: bitops.h Log Message: FFS and FFC instructions cannot take immediate arguments Index: bitops.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/bitops.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- bitops.h 25 Feb 2005 21:40:58 -0000 1.17 +++ bitops.h 28 Feb 2005 22:14:56 -0000 1.18 @@ -331,8 +331,8 @@ static __inline__ unsigned long ffz(unsigned long word) { __asm__("ffc $0, $32, %1 , %0\n" - :"=ir" (word) - :"ir" (word)); + :"=rm" (word) + :"rm" (word)); return word; } @@ -344,9 +344,9 @@ */ static __inline__ unsigned long __ffs(unsigned long word) { - __asm__("ffs $0, $32, %1 , %0\n" - :"=ir" (word) - :"ir" (word)); + __asm__("ffs $0, $32, %1, %0\n" + :"=rm" (word) + :"rm" (word)); return word; } |