Skip to content

Commit

Permalink
[PATCH] powerpc: Merge asm-ppc*/seccomp.h, drop TIF_32BIT check
Browse files Browse the repository at this point in the history
Merge asm-ppc*/seccomp.h. Drop TIF_32BIT check.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Jon Loeliger authored and Paul Mackerras committed Sep 25, 2005
1 parent 3efc333 commit 2bfadee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
11 changes: 3 additions & 8 deletions include/asm-ppc64/seccomp.h → include/asm-powerpc/seccomp.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#ifndef _ASM_SECCOMP_H

#include <linux/thread_info.h> /* already defines TIF_32BIT */

#ifndef TIF_32BIT
#error "unexpected TIF_32BIT on ppc64"
#endif
#ifndef _ASM_POWERPC_SECCOMP_H

#include <linux/thread_info.h>
#include <linux/unistd.h>

#define __NR_seccomp_read __NR_read
Expand All @@ -18,4 +13,4 @@
#define __NR_seccomp_exit_32 __NR_exit
#define __NR_seccomp_sigreturn_32 __NR_sigreturn

#endif /* _ASM_SECCOMP_H */
#endif /* _ASM_POWERPC_SECCOMP_H */
10 changes: 0 additions & 10 deletions include/asm-ppc/seccomp.h

This file was deleted.

0 comments on commit 2bfadee

Please sign in to comment.