summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/scm.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 13:56:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 13:56:44 +0100
commit4045407fd7740642b18bc802e8bab064e79a61e5 (patch)
tree9412a38886bfad562bc5897c6e4c23bb88703204 /arch/arm/mach-msm/scm.c
parentMerge branch 'restart-cleanup' into restart (diff)
parentMerge branch 'for-russell' of git://hansjkoch.de/git/linux-tcc into HEAD (diff)
downloadlinux-4045407fd7740642b18bc802e8bab064e79a61e5.tar.xz
linux-4045407fd7740642b18bc802e8bab064e79a61e5.zip
Merge branch 'restart-cleanup' into restart
Conflicts: arch/arm/kernel/setup.c
Diffstat (limited to 'arch/arm/mach-msm/scm.c')
-rw-r--r--arch/arm/mach-msm/scm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/scm.c b/arch/arm/mach-msm/scm.c
index 232f97a04504..bafabb502580 100644
--- a/arch/arm/mach-msm/scm.c
+++ b/arch/arm/mach-msm/scm.c
@@ -180,6 +180,9 @@ static u32 smc(u32 cmd_addr)
__asmeq("%1", "r0")
__asmeq("%2", "r1")
__asmeq("%3", "r2")
+#ifdef REQUIRES_SEC
+ ".arch_extension sec\n"
+#endif
"smc #0 @ switch to secure world\n"
: "=r" (r0)
: "r" (r0), "r" (r1), "r" (r2)