Skip to content
Snippets Groups Projects
Commit f86411b1 authored by Fabio Estevam's avatar Fabio Estevam Committed by Tom Rini
Browse files

sh: Use the generic bitops headers


The generic bitops headers are required when calling logarithmic
functions, such as ilog2().

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 9b0e3fd1
No related branches found
No related tags found
No related merge requests found
#ifndef __ASM_SH_BITOPS_H #ifndef __ASM_SH_BITOPS_H
#define __ASM_SH_BITOPS_H #define __ASM_SH_BITOPS_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__ #ifdef __KERNEL__
#include <asm/irqflags.h> #include <asm/irqflags.h>
/* For __swab32 */ /* For __swab32 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment