backports: add GENMASK and GENMASK_ULL
authorFelix Fietkau <nbd@openwrt.org>
Sun, 16 Nov 2014 13:39:57 +0000 (14:39 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Nov 2014 15:09:17 +0000 (16:09 +0100)
commit8c742cc8e6cdbe2c9d39a036ece86c098db18684
tree836da07179d7e2624b6bf9a742a711518842bf40
parentaca50d04d966ac9ff02b9142b6d485cd79cba22a
backports: add GENMASK and GENMASK_ULL

I intend to use this for a new driver

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/bitops.h [new file with mode: 0644]