OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7970479
)
traps: x86_64: use task_pid_nr(tsk) instead of tsk->pid in do_general_protection
author
Alexander van Heukelum
<heukelum@fastmail.fm>
Fri, 3 Oct 2008 20:00:37 +0000
(22:00 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 13 Oct 2008 08:33:26 +0000
(10:33 +0200)
Use task_pid_nr(tsk) instead of tsk->pid in do_general_protection.
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/traps_64.c
b/arch/x86/kernel/traps_64.c
index
7853f48
..
71c2629
100644
(file)
--- a/
arch/x86/kernel/traps_64.c
+++ b/
arch/x86/kernel/traps_64.c
@@
-204,7
+204,7
@@
do_general_protection(struct pt_regs *regs, long error_code)
printk_ratelimit()) {
printk(KERN_INFO
"%s[%d] general protection ip:%lx sp:%lx error:%lx",
- tsk->comm, t
sk->pid
,
+ tsk->comm, t
ask_pid_nr(tsk)
,
regs->ip, regs->sp, error_code);
print_vma_addr(" in ", regs->ip);
printk("\n");