]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
seccomp: use a static inline for a function stub
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 02:08:48 +0000 (12:08 +1000)
committerJames Morris <james.l.morris@oracle.com>
Tue, 17 Apr 2012 03:22:36 +0000 (13:22 +1000)
commitb1fa650c7e6e81ca788fef52b1659295eb82ffdd
tree88cad5408f07d41243d7bc786c15dbde2de74ab4
parent8ac270d1e29f0428228ab2b9a8ae5e1ed4a5cd84
seccomp: use a static inline for a function stub

Fixes this error message when CONFIG_SECCOMP is not set:

arch/powerpc/kernel/ptrace.c: In function 'do_syscall_trace_enter':
arch/powerpc/kernel/ptrace.c:1713:2: error: statement with no effect [-Werror=unused-value]

Signed-off-by: Stephen Rothwell <sfr@ozlabs.au.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
include/linux/seccomp.h