diff options
author | David McCullough <davidm@snapgear.com> | 2003-10-14 11:52:32 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2003-10-14 11:52:32 +0000 |
commit | 94b92c2fab333403aa43fd55ec858fdbf666f8c3 (patch) | |
tree | 10e30871a37756c010dbbb26326bf934ba434552 /libc/sysdeps/linux/microblaze/bits/syscalls.h | |
parent | 34c5a8290b32d93beca6ae8f9c346bbadf408591 (diff) |
Microblaze port from the uClinux-dist,
contributed by John Williams <jwilliams@itee.uq.edu.au>
Diffstat (limited to 'libc/sysdeps/linux/microblaze/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/microblaze/bits/syscalls.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/microblaze/bits/syscalls.h b/libc/sysdeps/linux/microblaze/bits/syscalls.h new file mode 100644 index 000000000..62541b873 --- /dev/null +++ b/libc/sysdeps/linux/microblaze/bits/syscalls.h @@ -0,0 +1,19 @@ +#ifndef _BITS_SYSCALLS_H +#define _BITS_SYSCALLS_H +#ifndef _SYSCALL_H +# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead." +#endif + +#include <features.h> + +/* Do something very evil for now. Until we create our own syscall + * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */ +#include <asm/unistd.h> + +/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel + * header files. It also defines the traditional `SYS_<name>' macros for older + * programs. */ +#include <bits/sysnum.h> + +#endif /* _BITS_SYSCALLS_H */ + |