diff options
Diffstat (limited to 'libc/arch-arm/syscalls/sched_getparam.S')
-rw-r--r-- | libc/arch-arm/syscalls/sched_getparam.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/arch-arm/syscalls/sched_getparam.S b/libc/arch-arm/syscalls/sched_getparam.S index 6434217..194d4a2 100644 --- a/libc/arch-arm/syscalls/sched_getparam.S +++ b/libc/arch-arm/syscalls/sched_getparam.S @@ -3,11 +3,10 @@ #include <sys/linux-syscalls.h> ENTRY(sched_getparam) - .save {r4, r7} - stmfd sp!, {r4, r7} + mov ip, r7 ldr r7, =__NR_sched_getparam swi #0 - ldmfd sp!, {r4, r7} + mov r7, ip movs r0, r0 bxpl lr b __set_syscall_errno |