[U-Boot] [PATCH v1 01/41] bitops.h: Include bitsperlong.h as needed for GENMASK_ULL

Tom Rini trini at konsulko.com
Tue Mar 21 15:02:24 UTC 2017


On Tue, Mar 21, 2017 at 03:27:22PM +0100, Stefan Roese wrote:

> 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 at denx.de>

I'm not super thrilled by this, but our headers here have diverged quite
a bit from Linux and I don't think a re-sync is going to be easy, so
this is the best solution for now (and mirrors, eventually)
bitsperlong.h ends up in bitops.h in Linux.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170321/6da31892/attachment.sig>


More information about the U-Boot mailing list