Sign in
ara-mdk
/
platform
/
bionic
/
a40751185f3a7245f73afb45382c23f71dbbcfc3
/
.
/
libc
/
arch-arm
/
syscalls
/
__reboot.S
blob: ad2bc8d87d6a604df00bde3e46ddcee3234163d8 [
file
] [
log
] [
blame
]
/*
autogenerated by gensyscalls.py
*/
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY
(
__reboot
)
mov ip
,
r7
ldr r7
,
=
__NR_reboot
swi
#0
mov r7
,
ip
cmn r0
,
#(MAX_ERRNO + 1)
bxls lr
neg r0
,
r0
b __set_errno
END
(
__reboot
)