diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-10-03 16:00:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:33:26 -0400 |
commit | a5ae2330a5a6e7948866715a845ad2e8900bd4c2 (patch) | |
tree | 0a72861bf8eddf0a31627b70534eb909b2909806 /arch | |
parent | 7970479c4881e156a0c07c1a7fdc564c8e3b2bfc (diff) |
traps: x86_64: use task_pid_nr(tsk) instead of tsk->pid in do_general_protection
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/traps_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 7853f488cd6c..71c2629997b3 100644 --- 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) | |||
204 | printk_ratelimit()) { | 204 | printk_ratelimit()) { |
205 | printk(KERN_INFO | 205 | printk(KERN_INFO |
206 | "%s[%d] general protection ip:%lx sp:%lx error:%lx", | 206 | "%s[%d] general protection ip:%lx sp:%lx error:%lx", |
207 | tsk->comm, tsk->pid, | 207 | tsk->comm, task_pid_nr(tsk), |
208 | regs->ip, regs->sp, error_code); | 208 | regs->ip, regs->sp, error_code); |
209 | print_vma_addr(" in ", regs->ip); | 209 | print_vma_addr(" in ", regs->ip); |
210 | printk("\n"); | 210 | printk("\n"); |