summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/steal_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/kvm/steal_time.c')
-rw-r--r--tools/testing/selftests/kvm/steal_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/steal_time.c b/tools/testing/selftests/kvm/steal_time.c
index 2172d65b85e4..62f2eb9ee3d5 100644
--- a/tools/testing/selftests/kvm/steal_time.c
+++ b/tools/testing/selftests/kvm/steal_time.c
@@ -116,12 +116,12 @@ struct st_time {
uint64_t st_time;
};
-static int64_t smccc(uint32_t func, uint32_t arg)
+static int64_t smccc(uint32_t func, uint64_t arg)
{
unsigned long ret;
asm volatile(
- "mov x0, %1\n"
+ "mov w0, %w1\n"
"mov x1, %2\n"
"hvc #0\n"
"mov %0, x0\n"