linux/bitops.h: GENMASK copy from linux
authorJagan Teki <jteki@openedev.com>
Wed, 21 Oct 2015 11:16:51 +0000 (16:46 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 21 Oct 2015 13:14:07 +0000 (09:14 -0400)
commit89b5c81b75658b7ff66dea6c38a51dfecc9dd508
treeabf5fd64f8f6ed5abd1029a5f6c02b382d003d83
parent673452876fe988048764e3c9fc1c42b9f51d3255
linux/bitops.h: GENMASK copy from linux

GENMASK is used to create a contiguous bitmask([hi:lo]).

This patch is a copy from Linux, with below commit details
"bitops: Fix shift overflow in GENMASK macros"
(sha1: 00b4d9a14125f1e51874def2b9de6092e007412d)

Cc: Tom Rini <trini@konsulko.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
include/asm-generic/bitsperlong.h [new file with mode: 0644]
include/linux/bitops.h