Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275421
b: refs/heads/master
c: eca55f4
h: refs/heads/master
i:
  275419: 74edeb3
v: v3
  • Loading branch information
Marc Zyngier authored and David Brown committed Nov 8, 2011
1 parent 303d440 commit 4d1654d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47a6770ac6cd0d28f14dd9e1b17705abe6f05e41
refs/heads/master: eca55f4d9c1d918c2aa95fb8a73a34e2ba8a1b11
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-msm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o
obj-$(CONFIG_MSM_SMD) += last_radio_log.o
obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o

CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)

obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
obj-$(CONFIG_SMP) += headsmp.o platsmp.o

Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-msm/scm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d1654d

Please sign in to comment.