OpenCloudOS-Kernel/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 [ARM] 5191/1: ARM: remove CVS keywords 2008-08-16 20:01:18 +01:00
asm-cris Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
asm-frv FRV: Provide ioremap_wc() for FRV 2008-08-20 13:19:52 -07:00
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 Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
asm-m68k m68k: remove the dead PCI code 2008-10-14 10:23:27 -07:00
asm-mn10300 MN10300: Supply ioremap_wc() for MN10300 2008-08-20 13:19:51 -07:00
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 net: Fix build with ARCH=um 2008-09-19 12:44:54 -07:00
asm-x86 include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-xtensa Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
crypto crypto: rng - RNG interface and implementation 2008-08-29 15:50:04 +10:00
drm
keys
linux Make the taint flags reliable 2008-10-16 11:21:31 -07:00
math-emu math-emu: Add support for reporting exact invalid exception 2008-09-16 10:01:37 -05:00
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 pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
rdma RDMA/cma: Remove padding arrays by using struct sockaddr_storage 2008-08-04 11:02:14 -07:00
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 xen: remove unused balloon.h 2008-10-03 10:04:10 +02:00
Kbuild kbuild: only one call for include/ in make headers_* 2008-07-25 22:11:44 +02:00