blob: a5895fe88e834f3d74d5f0b67b86a92d68b7fccd [file] [log] [blame]
/*
* arch/ppc64/syscall.c
*
* Common error-handling path for system calls.
* The return value from __syscall_error becomes the
* return value from the system call.
*/
#include <errno.h>
long int __syscall_error(long int err)
{
errno = err;
return -1;
}