From: H. Peter Anvin Date: Sat, 27 Apr 2013 23:11:17 +0000 (-0700) Subject: x86, processor-flags: Fix the datatypes and add bit number defines X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~59^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1fbefcb3aa608599a3c9e4582cbeeb6ba6c8939;p=pandora-kernel.git x86, processor-flags: Fix the datatypes and add bit number defines The control registers are unsigned long (32 bits on i386, 64 bits on x86-64), and so make that manifest in the data type for the various constants. Add defines with a _BIT suffix which defines the bit number, as opposed to the bit mask. This should resolve some issues with ~bitmask that Linus discovered. Reported-by: Linus Torvalds Signed-off-by: H. Peter Anvin Link: http://lkml.kernel.org/n/tip-cwckhbrib2aux1qbteaebij0@git.kernel.org --- Reading git-diff-tree failed