ARM: 8074/1: traps: Make use of the frame_pointer macro
authorNikolay Borisov <Nikolay.Borisov@arm.com>
Tue, 3 Jun 2014 18:50:09 +0000 (19:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Jul 2014 11:29:18 +0000 (12:29 +0100)
commit49432d4acf96a5dcc02d14978dcc75f522492757
treeb4c1fa7733d2222a0a4a38a8cc5f89750df40076
parentc8bee0ad78b2107ffb56fa82f0ab2b762311d172
ARM: 8074/1: traps: Make use of the frame_pointer macro

Use the newly-introduced frame_pointer macro to extract
the correct FP based on whether we are in THUMB2 mode or not.

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