]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/openrisc/include/asm/bitops/fls.h
4 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
6 * SPDX-License-Identifier: GPL-2.0+
9 #ifndef __ASM_OPENRISC_FLS_H
10 #define __ASM_OPENRISC_FLS_H
12 static inline int fls(int x
)
16 __asm__ ("l.fl1 %0,%1"
23 #endif /* __ASM_OPENRISC_FLS_H */