diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-04-15 18:50:53 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-18 12:30:32 -0400 |
commit | 5777b4b5778b9b44ee8b1476521ffcb8e527876d (patch) | |
tree | 235c5a810bf91ce9df14fed58d4b550f936ccf9e /arch/arm/mach-tegra | |
parent | 6e527d000f7e49a66618dd98c30e6b8711e91de5 (diff) |
ARM: tegra: fix build error when THUMB2_KERNEL enabled
This patch fix the build failure when CONFIG_THUBM2_KERNEL enabled. You
clould see the error message below:
arch/arm/mach-tegra/sleep-tegra30.S:69: Error: shift must be constant --
`orr r12,r12,r4,lsl r3'
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/sleep-tegra30.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/sleep-tegra30.S b/arch/arm/mach-tegra/sleep-tegra30.S index 63a15bd9b653..d29dfcce948d 100644 --- a/arch/arm/mach-tegra/sleep-tegra30.S +++ b/arch/arm/mach-tegra/sleep-tegra30.S | |||
@@ -66,7 +66,9 @@ ENTRY(tegra30_cpu_shutdown) | |||
66 | FLOW_CTRL_CSR_INTR_FLAG | FLOW_CTRL_CSR_EVENT_FLAG | \ | 66 | FLOW_CTRL_CSR_INTR_FLAG | FLOW_CTRL_CSR_EVENT_FLAG | \ |
67 | FLOW_CTRL_CSR_ENABLE | 67 | FLOW_CTRL_CSR_ENABLE |
68 | mov r4, #(1 << 4) | 68 | mov r4, #(1 << 4) |
69 | orr r12, r12, r4, lsl r3 | 69 | ARM( orr r12, r12, r4, lsl r3 ) |
70 | THUMB( lsl r4, r4, r3 ) | ||
71 | THUMB( orr r12, r12, r4 ) | ||
70 | str r12, [r1] | 72 | str r12, [r1] |
71 | 73 | ||
72 | /* Halt this CPU. */ | 74 | /* Halt this CPU. */ |