Skip to contentSkip to conversation

cleanup ffnz from nucleus/system.h

PATCH Applied Jan Kiszka 2 participants 2 messages Apr 23, 2007 – Apr 24, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 cleanup ffnz from nucleus/system.h

ChangeLog +2 -0
Index: xenomai/ChangeLog
===================================================================
@@ -3,6 +3,8 @@
 	* include/asm-x86_64/hal.h (ffnz): Fix typo that inverted the search
 	direction.
 
+	* include/nucleus/system.h: Remove unused (and bogus) ffnz wrapper.
+
 2007-04-19  Philippe Gerum  <[email protected]>
 
 	* ksrc/skins/vrtx/module.c, ksrc/nucleus/pipe.c,
include/nucleus/system.h +0 -5
Index: xenomai/include/nucleus/system.h
===================================================================
@@ -24,11 +24,6 @@
 #include <string.h>
 #include <asm/param.h>
 
-static inline unsigned long ffnz (unsigned long ul)
-{
-    return ffs((int)ul) - 1;
-}
-
 #include <asm/xenomai/atomic.h>
 #include <nucleus/core.h>
 #include <nucleus/trace.h>
#1 lore raw

ChangeLog line 7

Quoted 10 lines · Jan Kiszka

Index: xenomai/ChangeLog
===================================================================

ChangeLog +2 -0
@@ -3,6 +3,8 @@
 	* include/asm-x86_64/hal.h (ffnz): Fix typo that inverted the search
 	direction.
 
+	* include/nucleus/system.h: Remove unused (and bogus) ffnz wrapper.
+

Merged, thanks.

Quoted 24 lines
ChangeLog +0 -0
 2007-04-19  Philippe Gerum  <[email protected]>
 
 	* ksrc/skins/vrtx/module.c, ksrc/nucleus/pipe.c,

Index: xenomai/include/nucleus/system.h
===================================================================

include/nucleus/system.h +0 -5
@@ -24,11 +24,6 @@
 #include <string.h>
 #include <asm/param.h>
 
-static inline unsigned long ffnz (unsigned long ul)
-{
-    return ffs((int)ul) - 1;
-}
-
 #include <asm/xenomai/atomic.h>
 #include <nucleus/core.h>
 #include <nucleus/trace.h>

_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core

Signature · 1 line
Philippe.