linux/arch
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
..
alpha alpha: notify_cpu_starting() compile fixlet 2008-10-16 11:21:29 -07:00
arm cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
avr32 cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
blackfin cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
cris cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
frv FRV: Wire up new system calls 2008-08-01 13:03:49 -07:00
h8300 asm-h8300/md.h: remove CVS keyword 2008-10-16 11:21:29 -07:00
ia64 Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00
m32r misc: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
m68k arch/m68k/mm/kmap.c: introduce missing kfree 2008-10-14 10:23:27 -07:00
m68knommu Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
mips MIPS: Kill unused <asm/debug.h> inclusions 2008-10-15 12:46:52 +01:00
mn10300 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
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
powerpc Merge commit 'origin' 2008-10-15 11:31:54 +11:00
s390 vfs: Use const for kernel parser table 2008-10-13 10:10:37 -07:00
sh kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-10-13 10:07:53 -07:00
sparc64 cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
um uml: remove the dead TTY_LOG code 2008-10-16 11:21:30 -07:00
x86 Make the taint flags reliable 2008-10-16 11:21:31 -07:00
xtensa xtensa: remove dead CONFIG_BLK_DEV_IDE code 2008-10-13 21:39:34 +02:00
.gitignore
Kconfig Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00