Skip to content

Commit

Permalink
Workaround for outdated kernel tree
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiLux committed Jul 10, 2012
1 parent 859c158 commit fc47bea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mvp/mvpkm/mvpkm_main.c
Expand Up @@ -2108,6 +2108,7 @@ SetupMonitor(MvpkmVM *vm)
register uint32 r4 asm("r4") = hsctlr;

asm volatile (
".arch_extension sec\n\t"
"smc 0"
:
: "r" (r0), "r" (r1), "r" (r2), "r" (r3), "r" (r4)
Expand Down
1 change: 1 addition & 0 deletions drivers/misc/tzic.c
Expand Up @@ -42,6 +42,7 @@ u32 exynos_smc1(u32 cmd, u32 arg1, u32 arg2, u32 arg3)
register u32 reg3 __asm__("r3") = arg3;

__asm__ volatile (
".arch_extension sec\n"
"smc 0\n"
: "+r"(reg0), "+r"(reg1), "+r"(reg2), "+r"(reg3)
);
Expand Down

0 comments on commit fc47bea

Please sign in to comment.