projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IB/mlx4: Handle FW command interface rev 3
[powerpc.git]
/
include
/
linux
/
seccomp.h
diff --git
a/include/linux/seccomp.h
b/include/linux/seccomp.h
index
dc89116
..
3e8b1cf
100644
(file)
--- a/
include/linux/seccomp.h
+++ b/
include/linux/seccomp.h
@@
-1,7
+1,6
@@
#ifndef _LINUX_SECCOMP_H
#define _LINUX_SECCOMP_H
#ifndef _LINUX_SECCOMP_H
#define _LINUX_SECCOMP_H
-#include <linux/config.h>
#ifdef CONFIG_SECCOMP
#ifdef CONFIG_SECCOMP
@@
-26,11
+25,7
@@
static inline int has_secure_computing(struct thread_info *ti)
#else /* CONFIG_SECCOMP */
#else /* CONFIG_SECCOMP */
-#if (__GNUC__ > 2)
- typedef struct { } seccomp_t;
-#else
- typedef struct { int gcc_is_buggy; } seccomp_t;
-#endif
+typedef struct { } seccomp_t;
#define secure_computing(x) do { } while (0)
/* static inline to preserve typechecking */
#define secure_computing(x) do { } while (0)
/* static inline to preserve typechecking */