projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471b40d
)
[PATCH] lockdep: do not touch console state when tainting the kernel
author
Ingo Molnar
<mingo@elte.hu>
Wed, 6 Sep 2006 07:03:44 +0000
(
00:03
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 6 Sep 2006 18:00:02 +0000
(11:00 -0700)
Remove an unintended console_verbose() side-effect from add_taint().
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/panic.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/panic.c
b/kernel/panic.c
index 9b8dcfd1ca931e6f728c79655e4edead123a0f11..8010b9b17aca06eba731d72ec9b44f7144e45d3d 100644
(file)
--- a/
kernel/panic.c
+++ b/
kernel/panic.c
@@
-173,7
+173,7
@@
const char *print_tainted(void)
void add_taint(unsigned flag)
{
- debug_locks
_off()
; /* can't trust the integrity of the kernel anymore */
+ debug_locks
= 0
; /* can't trust the integrity of the kernel anymore */
tainted |= flag;
}
EXPORT_SYMBOL(add_taint);