android_kernel_samsung_msm8976/arch/x86/include/uapi/asm
H. Peter Anvin a47831b0d8 x86, processor-flags: Fix the datatypes and add bit number defines
commit d1fbefcb3aa608599a3c9e4582cbeeb6ba6c8939 upstream.

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 <torvalds@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-cwckhbrib2aux1qbteaebij0@git.kernel.org
[wt: backported to 3.10 only to keep next patch clean]

Signed-off-by: Willy Tarreau <w@1wt.eu>
2016-06-07 10:42:44 +02:00
..
Kbuild
a.out.h
auxvec.h
bitsperlong.h
boot.h
bootparam.h Modify UEFI anti-bricking code 2013-06-10 21:59:37 +01:00
byteorder.h
debugreg.h
e820.h
errno.h
fcntl.h
hw_breakpoint.h create non-empty arch/x86/include/uapi/asm/ files 2012-12-17 17:15:11 -08:00
hyperv.h
ioctl.h
ioctls.h
ipcbuf.h
ist.h
kvm.h kvm: Allow build-time configuration of KVM device assignment 2013-04-28 12:58:56 +03:00
kvm_para.h
ldt.h x86/tls: Don't validate lm in set_thread_area() after all 2015-01-08 09:58:15 -08:00
mce.h x86, MCE: Retract most UAPI exports 2013-01-09 14:49:02 +01:00
mman.h
msgbuf.h
msr-index.h x86, cpu, amd: Add workaround for family 16h, erratum 793 2014-02-06 11:08:18 -08:00
msr.h
mtrr.h
param.h
perf_regs.h
poll.h
posix_types.h
posix_types_32.h
posix_types_64.h
posix_types_x32.h
prctl.h
processor-flags.h x86, processor-flags: Fix the datatypes and add bit number defines 2016-06-07 10:42:44 +02:00
ptrace-abi.h
ptrace.h
resource.h
sembuf.h
setup.h create non-empty arch/x86/include/uapi/asm/ files 2012-12-17 17:15:11 -08:00
shmbuf.h
sigcontext.h
sigcontext32.h
siginfo.h
signal.h consolidate kernel-side struct sigaction declarations 2013-02-03 15:09:22 -05:00
socket.h
sockios.h
stat.h
statfs.h
svm.h
swab.h
termbits.h
termios.h
types.h
ucontext.h
unistd.h
vm86.h
vmx.h kvm: vmx: handle invvpid vm exit gracefully 2015-02-11 14:48:18 +08:00
vsyscall.h