ARM: 8075/1: oprofile: Use of arm_get_current_stackframe
authorNikolay Borisov <Nikolay.Borisov@arm.com>
Tue, 3 Jun 2014 18:51:32 +0000 (19:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Jul 2014 11:29:20 +0000 (12:29 +0100)
commite8a5dbc59e5ef7b120635fe8a57643f3bbbd0919
tree52300302bcc7d60f0de775dc89445f453d29a3dd
parent49432d4acf96a5dcc02d14978dcc75f522492757
ARM: 8075/1: oprofile: Use of arm_get_current_stackframe

Use the newly introduced API so that FP is correctly referenced from
either R7/R11 based on whether we are running in THUMB2 mode or not.

Signed-off-by: Nikolay Borisov <Nikolay.Borisov@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Robert Richter <rric@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/oprofile/common.c