]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bitops.h: Include bitsperlong.h as needed for GENMASK_ULL
authorStefan Roese <sr@denx.de>
Mon, 20 Feb 2017 15:50:26 +0000 (16:50 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:39:32 +0000 (07:39 +0200)
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>
include/linux/bitops.h

index 1b2e4915a08f26397edd8f69a249e30673b01dbf..576b15dc53c33381eccd7fe02efd9bd73615adc3 100644 (file)
@@ -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))