diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-11-05 12:43:30 -0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-05 10:52:14 -0500 |
commit | d308c9efadbe4e2b37bbed134f5782322de87686 (patch) | |
tree | d7d935a355f15ce60d415657ce08747de818fadd /arch | |
parent | e6e7b7c0abaa8f42d20e22b04bf8df69e76c8909 (diff) |
sandbox: Use the generic bitops headers
The generic bitops headers are required when calling logarithmic
functions, such as ilog2().
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/include/asm/bitops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/bitops.h b/arch/sandbox/include/asm/bitops.h index f1a7aeee938..f27d5e98c56 100644 --- a/arch/sandbox/include/asm/bitops.h +++ b/arch/sandbox/include/asm/bitops.h @@ -21,6 +21,10 @@ #include <linux/compiler.h> #include <asm/system.h> +#include <asm-generic/bitops/fls.h> +#include <asm-generic/bitops/__fls.h> +#include <asm-generic/bitops/fls64.h> +#include <asm-generic/bitops/__ffs.h> #ifdef __KERNEL__ |