]> 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)
commit7c31d3e27df51b4510066e0072a20351ac34b36a
treef2aedc236f1bd0876951cc82243f3b811864f6ac
parentb5aee7a7c544f61f960f967df49e411031cb36e7
sparc,kgdbts: fix compile regression with kgdb test suite

Commit d199c4a2d3 (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