blob: a7d26dd012a13059f7c919e8fdbf1b19bf5281a9 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(mprotect)
mov x8, __NR_mprotect
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
b.hi __set_errno
ret
END(mprotect)