ARM: 6653/1: bitops: Use BX instead of MOV PC,LR
authorDave Martin <dave.martin@linaro.org>
Tue, 8 Feb 2011 11:09:52 +0000 (12:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Feb 2011 16:07:21 +0000 (16:07 +0000)
commit3ba6e69ad887f8a814267ed36fd4bfbddf8855a9
treeaff91a8e58d1b3ac83a8dd37e8a9f325961add2a
parent917692f5f7ec63de3b093c825913d68e910db282
ARM: 6653/1: bitops: Use BX instead of MOV PC,LR

The kernel doesn't officially need to interwork, but using BX
wherever appropriate will help educate people into good assembler
coding habits.

BX is appropriate here because this code is predicated on
__LINUX_ARM_ARCH__ >= 6

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/bitops.h