summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-25 11:29:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-28 13:49:17 +0200
commita13829742b70e5af77593cf50bd64f2bff633808 (patch)
treef35dc73f5cbd07e1946f65760d3baba9bb8ef037
parentabbbe22b4878a31da7af590440c7d0e8c195e6bb (diff)
downloadbarebox-a13829742b70e5af77593cf50bd64f2bff633808.tar.gz
barebox-a13829742b70e5af77593cf50bd64f2bff633808.tar.xz
x86: Add missing ffs and fls include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/x86/include/asm/bitops.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h
index b43afa3f99..830b1a5510 100644
--- a/arch/x86/include/asm/bitops.h
+++ b/arch/x86/include/asm/bitops.h
@@ -27,6 +27,11 @@
#ifndef _ASM_X86_BITOPS_H_
#define _ASM_X86_BITOPS_H_
-/* nothing special yet */
+#define BITS_PER_LONG 32
+
+#include <asm-generic/bitops/__fls.h>
+#include <asm-generic/bitops/__ffs.h>
+#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/ffs.h>
#endif /* _ASM_X86_BITOPS_H_ */