Grrr...

Index: include/asm-x86_64/hal.h
===================================================================
--- include/asm-x86_64/hal.h    (Revision 2402)
+++ include/asm-x86_64/hal.h    (Arbeitskopie)
@@ -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   (Revision 2402)
+++ ChangeLog   (Arbeitskopie)
@@ -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,

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to