vsyscall_64: add missing ifdef CONFIG_SECCOMP
authorWill Drewry <wad@chromium.org>
Sat, 14 Jul 2012 15:32:52 +0000 (10:32 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Jul 2012 19:01:36 +0000 (12:01 -0700)
commit09d314425f5bc69fcf793c7890d9e6a3cdcb44be
tree12bc24fa339e0876a2cbf783ed98634ea05ca66d
parenta7559b13de77d720903c1b1d45cd3b5b0b30a643
vsyscall_64: add missing ifdef CONFIG_SECCOMP

vsyscall_seccomp introduced a dependency on __secure_computing.  On
configurations with CONFIG_SECCOMP disabled, compilation will fail.

Reported-by: feng xiangjun <fengxj325@gmail.com>
Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/vsyscall_64.c