]> git.baikalelectronics.ru Git - kernel.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)
commit6e66ade4eb3c86059db00ae5534b9a128dd6d8c8
tree242bc30d43607dfb426fea6559f770d93366a51f
parentc849828b3b9dd97b87d156dedd822753c8286391
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