From: Paul Mundt Date: Tue, 31 May 2011 05:39:49 +0000 (+0900) Subject: sh: Fix up asm-generic/ptrace.h fallout. X-Git-Tag: v3.0-rc2~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7eba292e913390fa881272bfbc3da0a5380513;p=pandora-kernel.git sh: Fix up asm-generic/ptrace.h fallout. There was an ordering issue with regards to instruction_pointer() being used in profile_pc() prior to the asm-generic/ptrace.h include, which subsequently provided the instruction_pointer() definition. In the interest of simplicity we simply open-code the regs->pc deref for the profile_pc() definition instead. The FP functions were also broken due to a lack of a common regs->fp, so provide a common GET_FP() that is safe for both architectures in order to fix up the frame pointer helpers too. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed