diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-09-13 01:25:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 08:22:29 -0700 |
commit | 9f1583339a6f52c0c26441d39a0deff8246800f7 (patch) | |
tree | 99efa7690d22a45bf87ec80beb5e2a2d43f6b26d /arch/x86_64/kernel | |
parent | fb911ee849756fc6c609dddded92d9207ff3fb29 (diff) | |
download | talos-obmc-linux-9f1583339a6f52c0c26441d39a0deff8246800f7.tar.gz talos-obmc-linux-9f1583339a6f52c0c26441d39a0deff8246800f7.zip |
[PATCH] use add_taint() for setting tainted bit flags
Use the add_taint() interface for setting tainted bit flags instead of
doing it manually.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel')
-rw-r--r-- | arch/x86_64/kernel/mce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c index 969365c0771b..08203b07f4bd 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86_64/kernel/mce.c @@ -217,7 +217,7 @@ void do_machine_check(struct pt_regs * regs, long error_code) panicm_found = 1; } - tainted |= TAINT_MACHINE_CHECK; + add_taint(TAINT_MACHINE_CHECK); } /* Never do anything final in the polling timer */ |