diff options
author | Stefan Roese <sr@denx.de> | 2017-02-20 16:50:26 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-03-29 07:39:32 +0200 |
commit | e1b27d27a64d3b007c877f48a1aa106d228db7fc (patch) | |
tree | f53ef92d3ec78ac021dc6fbc40140e09af8dd259 /include | |
parent | 1c694102a56895b7aea636f026955cc5d7ee340d (diff) | |
download | u-boot-e1b27d27a64d3b007c877f48a1aa106d228db7fc.zip u-boot-e1b27d27a64d3b007c877f48a1aa106d228db7fc.tar.gz u-boot-e1b27d27a64d3b007c877f48a1aa106d228db7fc.tar.bz2 |
bitops.h: Include bitsperlong.h as needed for GENMASK_ULL
The macro GENMASK_ULL needs the BITS_PER_LONG_LONG macro which is
defined in the bitsperlong.h header. Lets include this header as
the upcoming A7k/8k support in the Marvell mvpp2 ethernet driver
uses this macro.
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bitops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 1b2e491..576b15d 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -2,6 +2,7 @@ #define _LINUX_BITOPS_H #include <asm/types.h> +#include <asm-generic/bitsperlong.h> #include <linux/compiler.h> #define BIT(nr) (1UL << (nr)) |