kernel-ark/include/asm-powerpc/seccomp.h
Paul Mackerras 42650d8c90 powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef
Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 15:14:05 +11:00

21 lines
512 B
C

#ifndef _ASM_POWERPC_SECCOMP_H
#define _ASM_POWERPC_SECCOMP_H
#ifdef __KERNEL__
#include <linux/thread_info.h>
#endif
#include <linux/unistd.h>
#define __NR_seccomp_read __NR_read
#define __NR_seccomp_write __NR_write
#define __NR_seccomp_exit __NR_exit
#define __NR_seccomp_sigreturn __NR_rt_sigreturn
#define __NR_seccomp_read_32 __NR_read
#define __NR_seccomp_write_32 __NR_write
#define __NR_seccomp_exit_32 __NR_exit
#define __NR_seccomp_sigreturn_32 __NR_sigreturn
#endif /* _ASM_POWERPC_SECCOMP_H */