blob: 398d078f15fd8be36359095ecccbd1b98fa4a165 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(__reboot)
movq %rcx, %r10
movl $__NR_reboot, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(__reboot)
.hidden __reboot