Skip to content
Commit 603d04b2 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds
Browse files

kgdbts: only use new asm-generic/ptrace.h api when needed



The new instruction_pointer_set helper is defined for people who have
converted to asm-generic/ptrace.h, so don't use it generally unless
the arch needs it (in which case it has been converted).  This should
fix building of kgdb tests for arches not yet converted.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e12ca23d
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