]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fix ptrace_64.c:user_disable_single_step()
authorAdrian Bunk <bunk@kernel.org>
Fri, 22 Aug 2008 15:20:36 +0000 (18:20 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 25 Aug 2008 05:08:02 +0000 (14:08 +0900)
commit534e2f5e981c37767b338467ab6bbe94d1a92e7d
tree5d16a2a32a4e5d904ed3454c0b97e4d76c448b69
parent870b6e5232cfe2095cd4dab98f132764456a02ad
sh: fix ptrace_64.c:user_disable_single_step()

This patch fixes the following compile error caused by
commit bf6fa8df7841ef68ef80d006f98718e2e5a972dd
(sh: ptrace single stepping cleanups.):

<--  snip  -->

...
  CC      arch/sh/kernel/ptrace_64.o
arch/sh/kernel/ptrace_64.c: In function 'user_disable_single_step':
arch/sh/kernel/ptrace_64.c:134: error: 'regs' undeclared (first use in this function)
arch/sh/kernel/ptrace_64.c:134: error: (Each undeclared identifier is reported only once
arch/sh/kernel/ptrace_64.c:134: error: for each function it appears in.)
...
make[2]: *** [arch/sh/kernel/ptrace_64.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ptrace_64.c