diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-21 08:35:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-21 08:35:58 +0000 |
commit | 05d9958f685e3f0c51be4f1128348645451e51fb (patch) | |
tree | b28c486ae60ad9065ba6d061b494c253fdc73ef5 /libc/sysdeps/linux/bfin/bits/syscalls.h | |
parent | f6cc7543c5530106123f1fa7958d1c594ddff3d8 (diff) |
Add support for the Analog Devices Blackfin mmuless processor
Diffstat (limited to 'libc/sysdeps/linux/bfin/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/bfin/bits/syscalls.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/syscalls.h b/libc/sysdeps/linux/bfin/bits/syscalls.h new file mode 100644 index 000000000..62541b873 --- /dev/null +++ b/libc/sysdeps/linux/bfin/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 */ + |