]> git.baikalelectronics.ru Git - kernel.git/commit
sparc,kgdbts: fix compile regression with kgdb test suite
authorJason Wessel <jason.wessel@windriver.com>
Tue, 19 Jul 2011 20:43:16 +0000 (15:43 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 21 Jul 2011 22:29:49 +0000 (17:29 -0500)
commit8422619f8dd087171de36a471c66135a70898374
treef2aedc236f1bd0876951cc82243f3b811864f6ac
parent83b2fb5c83cfa87a3381b6694f18ccab2a309e38
sparc,kgdbts: fix compile regression with kgdb test suite

Commit 10054c34eb (kgdbts: unify/generalize gdb breakpoint adjustment)
introduced a compile regression on sparc.

kgdbts.c: In function 'check_and_rewind_pc':
kgdbts.c:307: error: implicit declaration of function 'instruction_pointer_set'

Simply add the correct macro definition for instruction pointer on the
Sparc architecture.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/ptrace.h