projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/unwind: Prevent false warnings for non-current tasks
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kernel
/
unwind_frame.c
diff --git
a/arch/x86/kernel/unwind_frame.c
b/arch/x86/kernel/unwind_frame.c
index
a224b5a
..
5422611
100644
(file)
--- a/
arch/x86/kernel/unwind_frame.c
+++ b/
arch/x86/kernel/unwind_frame.c
@@
-344,6
+344,9
@@
bad_address:
if (IS_ENABLED(CONFIG_X86_32))
goto the_end;
+ if (state->task != current)
+ goto the_end;
+
if (state->regs) {
printk_deferred_once(KERN_WARNING
"WARNING: kernel stack regs at %p in %s:%d has bad 'bp' value %p\n",