diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-05-31 14:39:49 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-31 14:39:49 +0900 |
commit | db7eba292e913390fa881272bfbc3da0a5380513 (patch) | |
tree | e3c0142c985e92a510abcc2d867da4d9eacd0a3e /drivers/clocksource | |
parent | 3f9b8520b06013939ad247ba08b69529b5f14be1 (diff) | |
download | kernel_samsung_smdk4412-db7eba292e913390fa881272bfbc3da0a5380513.zip kernel_samsung_smdk4412-db7eba292e913390fa881272bfbc3da0a5380513.tar.gz kernel_samsung_smdk4412-db7eba292e913390fa881272bfbc3da0a5380513.tar.bz2 |
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 <lethal@linux-sh.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions