summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-01-01 10:12:18 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-01-01 10:12:18 +1030
commit0db5d3d2f58804edb394e8008c7d9744110338a2 (patch)
tree7528110d1e7c979bfff709dc0b37b7af596939f3 /arch/m68knommu/include
parent434ae514c23047db87a8bbf39cebc9e1767aea44 (diff)
downloadop-kernel-dev-0db5d3d2f58804edb394e8008c7d9744110338a2.zip
op-kernel-dev-0db5d3d2f58804edb394e8008c7d9744110338a2.tar.gz
m68knommu: define __fls
Like fls, but can't be handed 0 and returns the bit number. (I broke this arch in linux-next by using __fls in generic code). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/m68knommu/include')
-rw-r--r--arch/m68knommu/include/asm/bitops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68knommu/include/asm/bitops.h b/arch/m68knommu/include/asm/bitops.h
index 6f3685e..9d3cbe5 100644
--- a/arch/m68knommu/include/asm/bitops.h
+++ b/arch/m68knommu/include/asm/bitops.h
@@ -331,6 +331,7 @@ found_middle:
#endif /* __KERNEL__ */
#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#endif /* _M68KNOMMU_BITOPS_H */
OpenPOWER on IntegriCloud