From: Chen, Gong Date: Fri, 18 Oct 2013 21:29:07 +0000 (-0700) Subject: bitops: Introduce a more generic BITMASK macro X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~28^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ef6b0dffe404bcc54e94cb2ca1a5b18445a66b;p=pandora-kernel.git 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 Cc: Borislav Petkov Cc: Thomas Winischhofer Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Acked-by: Borislav Petkov Acked-by: Mauro Carvalho Chehab Signed-off-by: Tony Luck --- Reading git-diff-tree failed