Fix typo in x86_64 ffnz
PATCH 1/1 Fix typo in x86_64 ffnz
Grrr...
asm-x86_64/hal.h +1 -1
@@ -30,7 +30,7 @@ typedef unsigned long rthal_time_t;static inline __attribute_const__ unsigned long ffnz (unsigned long ul) { - __asm__("bsrq %1, %0" :"=r" (ul):"rm" (ul)); + __asm__("bsfq %1, %0" :"=r" (ul):"rm" (ul));return ul; }
ChangeLog +5 -0
@@ -1,3 +1,8 @@ +2007-04-23 Jan Kiszka <[email protected]> + + * include/asm-x86_64/hal.h (ffnz): Fix typo that inverted the search + direction. + 2007-04-19 Philippe Gerum <[email protected]> * ksrc/skins/vrtx/module.c, ksrc/nucleus/pipe.c,
Quoted 2 lines · Jan Kiszka
Grrr...
Fixed. Mglmgmmm...
Quoted 27 lines
Index:
include/asm-x86_64/hal.h
===================================================================asm-x86_64/hal.h +1
-1@@ -30,7 +30,7 @@ typedef unsigned long rthal_time_t;static inline __attribute_const__ unsigned long ffnz (unsigned long ul) { - __asm__("bsrq %1, %0" :"=r" (ul):"rm" (ul)); + __asm__("bsfq %1, %0" :"=r" (ul):"rm" (ul));return ul; }Index: ChangeLog
===================================================================ChangeLog +5
-0@@ -1,3 +1,8 @@ +2007-04-23 Jan Kiszka <[email protected]> + + * include/asm-x86_64/hal.h (ffnz): Fix typo that inverted the search + direction. + 2007-04-19 Philippe Gerum <[email protected]> * ksrc/skins/vrtx/module.c, ksrc/nucleus/pipe.c,
Signature · 1 line
Philippe.