aboutsummaryrefslogtreecommitdiff
path: root/pk/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/frontend.c')
-rw-r--r--pk/frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/frontend.c b/pk/frontend.c
index 5c0fdc0..9641352 100644
--- a/pk/frontend.c
+++ b/pk/frontend.c
@@ -17,7 +17,7 @@ sysret_t frontend_syscall(long n, long a0, long a1, long a2, long a3)
magic_mem[3] = a2;
magic_mem[4] = a3;
- asm volatile ("sync");
+ asm volatile ("fence");
mtpcr(magic_mem,PCR_TOHOST);
while(mfpcr(PCR_FROMHOST) == 0);