diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-30 11:38:34 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-04-30 11:38:43 (GMT) |
commit | 4e83be7b24ba4fe40acf0b967bd6ae8c9ac79bde (patch) | |
tree | 2f900726b0e3c6c3e4eb9e84227d9eed5fa93097 /arch/s390/kernel/process.c | |
parent | 2f972202315cf71fd60e890ebbed7d5bcf620ba4 (diff) | |
download | linux-fsl-qoriq-4e83be7b24ba4fe40acf0b967bd6ae8c9ac79bde.tar.xz |
[S390] Move show_regs to traps.c.
This is where it should be and we can get rid of some externs
and a static inline function.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/process.c')
-rw-r--r-- | arch/s390/kernel/process.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c index c1aff19..7920861 100644 --- a/arch/s390/kernel/process.c +++ b/arch/s390/kernel/process.c @@ -180,24 +180,6 @@ void cpu_idle(void) } } -void show_regs(struct pt_regs *regs) -{ - print_modules(); - printk("CPU: %d %s %s %.*s\n", - task_thread_info(current)->cpu, print_tainted(), - init_utsname()->release, - (int)strcspn(init_utsname()->version, " "), - init_utsname()->version); - printk("Process %s (pid: %d, task: %p, ksp: %p)\n", - current->comm, current->pid, current, - (void *) current->thread.ksp); - show_registers(regs); - /* Show stack backtrace if pt_regs is from kernel mode */ - if (!(regs->psw.mask & PSW_MASK_PSTATE)) - show_trace(NULL, (unsigned long *) regs->gprs[15]); - show_last_breaking_event(regs); -} - extern void kernel_thread_starter(void); asm( |