summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls/setpriority.S
blob: 683da340d68729fb6abf252a4a34acf45126783c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>

ENTRY(setpriority)
    mov     ip, r7
    ldr     r7, =__NR_setpriority
    swi     #0
    mov     r7, ip
    movs    r0, r0
    bxpl    lr
    b       __set_syscall_errno
END(setpriority)