diff options
author | Rashmica Gupta <rashmicy@gmail.com> | 2015-11-19 06:26:28 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-11-26 14:11:16 +0300 |
commit | cdfc8ed6904d7b0c0ca23d619b387b32070703b1 (patch) | |
tree | 0950a5ce787a5e12344a88118b26b13e3e34bbc7 /arch/powerpc/kernel | |
parent | 58531b0c800fd514f04ae42b6cf5ab15abdf0651 (diff) | |
download | linux-cdfc8ed6904d7b0c0ca23d619b387b32070703b1.tar.xz |
powerpc: Remove unused function trace_syscall()
This function has been unused since commit 14cf11af6cf6 ("powerpc: Merge enough
to start building in arch/powerpc."), so remove it.
Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 37de90f8a845..b6becc795bb5 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -1313,13 +1313,6 @@ void nonrecoverable_exception(struct pt_regs *regs) die("nonrecoverable exception", regs, SIGKILL); } -void trace_syscall(struct pt_regs *regs) -{ - printk("Task: %p(%d), PC: %08lX/%08lX, Syscall: %3ld, Result: %s%ld %s\n", - current, task_pid_nr(current), regs->nip, regs->link, regs->gpr[0], - regs->ccr&0x10000000?"Error=":"", regs->gpr[3], print_tainted()); -} - void kernel_fp_unavailable_exception(struct pt_regs *regs) { enum ctx_state prev_state = exception_enter(); |