]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 8359/1: correct secondary_startup_arm mode
authorYingjoe Chen <yingjoe.chen@mediatek.com>
Mon, 18 May 2015 08:04:31 +0000 (09:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 Jun 2015 08:58:16 +0000 (09:58 +0100)
commitc07b5fd0268fc2bbaa584548d437f763d20bde77
tree242bc30d43607dfb426fea6559f770d93366a51f
parent5b290ec2074c68b9f4f8f8789fa9b3e1782869e7
ARM: 8359/1: correct secondary_startup_arm mode

secondary_startup_arm is used as ARM mode secondary start up function
when ther kernel is compiled in THUMB mode, however the label itself
is still in .thumb mode. readelf shows:

160979: c020a581   120 FUNC    GLOBAL DEFAULT    2 secondary_startup_arm

Make sure the label is in ARM mode as well.

Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S