All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] Fix typo in x86_64 ffnz
@ 2007-04-23 14:52 Jan Kiszka
  2007-04-24  8:16 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2007-04-23 14:52 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

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  <jan.kiszka@domain.hid>
+
+	* include/asm-x86_64/hal.h (ffnz): Fix typo that inverted the search
+	direction.
+
 2007-04-19  Philippe Gerum  <rpm@xenomai.org>
 
 	* ksrc/skins/vrtx/module.c, ksrc/nucleus/pipe.c,


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-24  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 14:52 [Xenomai-core] [PATCH] Fix typo in x86_64 ffnz Jan Kiszka
2007-04-24  8:16 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.