git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: Remove duplicate code
[pandora-kernel.git]
/
include
/
asm-powerpc
/
seccomp.h
diff --git
a/include/asm-powerpc/seccomp.h
b/include/asm-powerpc/seccomp.h
index
1e1cfe1
..
853765e
100644
(file)
--- a/
include/asm-powerpc/seccomp.h
+++ b/
include/asm-powerpc/seccomp.h
@@
-1,6
+1,10
@@
#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