]> code.ossystems Code Review - bsp/u-boot.git/commit
linux/bitops.h: GENMASK copy from linux
authorJagan Teki <jteki@openedev.com>
Wed, 21 Oct 2015 11:16:51 +0000 (16:46 +0530)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 27 Oct 2015 12:24:21 +0000 (10:24 -0200)
commite5bd2900df449e17c139d44b54be98ea01b30647
tree49cf23c541341a2b83427ebdbea1317aaff79a7a
parent59ef316ce68a7696c5fdf04667a23beb3be9852e
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