Commit ec1b33dc authored by Michael Neuling's avatar Michael Neuling Committed by Benjamin Herrenschmidt

powerpc/ptrace: Remove unused addr parameter in ppc_del_hwdebug()

Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 84295dfc
...@@ -1451,7 +1451,7 @@ static long ppc_set_hwdebug(struct task_struct *child, ...@@ -1451,7 +1451,7 @@ static long ppc_set_hwdebug(struct task_struct *child,
#endif /* !CONFIG_PPC_ADV_DEBUG_DVCS */ #endif /* !CONFIG_PPC_ADV_DEBUG_DVCS */
} }
static long ppc_del_hwdebug(struct task_struct *child, long addr, long data) static long ppc_del_hwdebug(struct task_struct *child, long data)
{ {
#ifdef CONFIG_HAVE_HW_BREAKPOINT #ifdef CONFIG_HAVE_HW_BREAKPOINT
int ret = 0; int ret = 0;
...@@ -1633,7 +1633,7 @@ long arch_ptrace(struct task_struct *child, long request, ...@@ -1633,7 +1633,7 @@ long arch_ptrace(struct task_struct *child, long request,
} }
case PPC_PTRACE_DELHWDEBUG: { case PPC_PTRACE_DELHWDEBUG: {
ret = ppc_del_hwdebug(child, addr, data); ret = ppc_del_hwdebug(child, data);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment