From aa32e55ce7b71c5b42c21494574d76e58b176cb6 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Wed, 16 Dec 2009 16:39:24 +0000 Subject: Remove unneeded instruction from the coldfire ffs function and fix a wrong comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24030 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/system.h b/firmware/export/system.h index d1b5df546b..505b167af9 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -205,7 +205,7 @@ int get_cpu_boost_counter(void); #define UNLIKELY(x) (x) #endif -/* returns index of first set bit + 1 or 0 if no bits are set */ +/* returns index of first set bit or 32 if no bits are set */ int find_first_set_bit(uint32_t val); static inline __attribute__((always_inline)) -- cgit v1.2.3