From: Mike Frysinger Date: Sat, 28 May 2011 14:04:25 +0000 (-0400) Subject: kgdbts: only use new asm-generic/ptrace.h api when needed X-Git-Tag: v3.0-rc2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=603d04b2010976a52f62b7633f9999d104046900;p=pandora-kernel.git 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: Mike Frysinger Acked-by: Stephen Rothwell Cc: Jason Wessel Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed