diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-06-05 20:15:23 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-06-05 20:15:23 +0000 |
commit | 986b5d2246db33a33c97316238c89d12dee01b5e (patch) | |
tree | f7a367e15bab087d08f5f90d1a8b42905b008a1a /libgloss/arm/linux-syscalls1.c | |
parent | 9eedc2e624ffdaec11d8ec455b3f4c2ab02eca39 (diff) | |
download | cygnal-986b5d2246db33a33c97316238c89d12dee01b5e.tar.gz cygnal-986b5d2246db33a33c97316238c89d12dee01b5e.tar.bz2 cygnal-986b5d2246db33a33c97316238c89d12dee01b5e.zip |
2006-06-05 Shaun Jackman <sjackman@gmail.com>
* arm/linux-syscalls0.S (reboot): Remove.
* arm/linux-syscalls1.c (reboot): New function.
Diffstat (limited to 'libgloss/arm/linux-syscalls1.c')
-rw-r--r-- | libgloss/arm/linux-syscalls1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgloss/arm/linux-syscalls1.c b/libgloss/arm/linux-syscalls1.c index 5a94a9e53..a196352b5 100644 --- a/libgloss/arm/linux-syscalls1.c +++ b/libgloss/arm/linux-syscalls1.c @@ -62,3 +62,10 @@ pid_t waitpid(pid_t pid, int *status, int options) { return wait4(pid, status, options, NULL); } + +extern int _reboot(int magic, int magic2, int flag, void *arg); + +int reboot(int flag) +{ + return _reboot(0xfee1dead, 0x28121969, flag, NULL); +} |