diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-22 17:10:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-22 17:10:30 +0000 |
commit | 72677cc3d8403da4b35c99617352bde347780222 (patch) | |
tree | 7d5d29cc3f49a1b69f90ca9ae6fbf3f61e81b1ce /libc/sysdeps/linux/sparc/bits/syscalls.h | |
parent | 980e7850176c30ba374a706298b2865f387ec2ae (diff) |
Rework syscall handling. Rewrite syscall handlers for x86 and ARM.
Prepare to kill the UNIFIED_SYSCALL option and instead have it be
a per arch thing that is either enabled or not for that arch.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/syscalls.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/syscalls.h b/libc/sysdeps/linux/sparc/bits/syscalls.h index 5c30e2193..da6a6d43e 100644 --- a/libc/sysdeps/linux/sparc/bits/syscalls.h +++ b/libc/sysdeps/linux/sparc/bits/syscalls.h @@ -1,10 +1,15 @@ -/* - * nothing needed here until we want pthread support or similar - */ +#ifndef _BITS_SYSCALLS_H +#define _BITS_SYSCALLS_H +#ifndef _SYSCALL_H +# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." +#endif #include <features.h> -/* Do something very evil for now. Until we include our out syscall + +/* Do something very evil for now. Until we create our own syscall * macros, short circuit bits/syscall.h and use asm/unistd.h instead */ #define _BITS_SYSCALL_H #include <asm/unistd.h> +#endif /* _BITS_SYSCALLS_H */ + |