commit | 10ef6b0dffe404bcc54e94cb2ca1a5b18445a66b | [log] [tgz] |
---|---|---|
author | Chen, Gong <[email protected]> | Fri Oct 18 14:29:07 2013 -0700 |
committer | Tony Luck <[email protected]> | Mon Oct 21 15:12:01 2013 -0700 |
tree | 6450859ffdc4494f2211442dd411b7f189cf326d | |
parent | 88f074f4871a8c212b212b725e4dcdcdb09613c1 [diff] |
bitops: Introduce a more generic BITMASK macro GENMASK is used to create a contiguous bitmask([hi:lo]). It is implemented twice in current kernel. One is in EDAC driver, the other is in SiS/XGI FB driver. Move it to a more generic place for other usage. Signed-off-by: Chen, Gong <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Thomas Winischhofer <[email protected]> Cc: Jean-Christophe Plagniol-Villard <[email protected]> Cc: Tomi Valkeinen <[email protected]> Acked-by: Borislav Petkov <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Tony Luck <[email protected]>