android_kernel_xiaomi_sm8350/include
Andi Kleen 25ddbb18aa Make the taint flags reliable
It's somewhat unlikely that it happens, but right now a race window
between interrupts or machine checks or oopses could corrupt the tainted
bitmap because it is modified in a non atomic fashion.

Convert the taint variable to an unsigned long and use only atomic bit
operations on it.

Unfortunately this means the intvec sysctl functions cannot be used on it
anymore.

It turned out the taint sysctl handler could actually be simplified a bit
(since it only increases capabilities) so this patch actually removes
code.

[akpm@linux-foundation.org: remove unneeded include]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:31 -07:00
..
acpi include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-arm
asm-cris
asm-frv
asm-generic include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-h8300 h8300: update timer handler - new files 2008-10-16 11:21:29 -07:00
asm-m32r
asm-m68k m68k: remove the dead PCI code 2008-10-14 10:23:27 -07:00
asm-mn10300
asm-parisc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-13 17:13:56 +01:00
asm-um
asm-x86 include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-xtensa
crypto
drm
keys
linux Make the taint flags reliable 2008-10-16 11:21:31 -07:00
math-emu
media include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
mtd
net include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
pcmcia
rdma
rxrpc
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-10-10 10:53:26 -07:00
sound Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2008-10-13 14:03:59 -07:00
video include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
xen
Kbuild