ffs: remove non-inline find_[first|last]_set()
The inline versions are renamed to remove the _inline suffix, and the non-inline versions are removed from the code base. Change-Id: Iee2e6adcfb5da1fe0a978a05aa854e10ae82a8b8 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
c4ad73d3b6
commit
910970ed0f
12 changed files with 12 additions and 395 deletions
|
@ -114,8 +114,7 @@ static inline __attribute__((always_inline)) void _do_irq_unlock(void)
|
|||
* is performed after the 'cmovzl', the correct results are yielded.
|
||||
*/
|
||||
|
||||
static inline __attribute__((always_inline))
|
||||
unsigned int find_first_set_inline (unsigned int op)
|
||||
static ALWAYS_INLINE unsigned int find_first_set(unsigned int op)
|
||||
{
|
||||
int bitpos;
|
||||
|
||||
|
@ -165,8 +164,7 @@ static inline __attribute__((always_inline))
|
|||
* is performed after the 'cmovzl', the correct results are yielded.
|
||||
*/
|
||||
|
||||
static inline inline __attribute__((always_inline))
|
||||
unsigned int find_last_set_inline (unsigned int op)
|
||||
static ALWAYS_INLINE unsigned int find_last_set(unsigned int op)
|
||||
{
|
||||
int bitpos;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue