diff options
author | Vinson Lee <vlee@freedesktop.org> | 2016-09-17 00:51:53 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-20 00:01:48 +0200 |
commit | 6e68b08728ce3365c713f8663c6b05a79e2bbca1 (patch) | |
tree | a7476208f7f4252f3cfc7d0d53ff9cc88dfaf00d /mm | |
parent | 3947f49302e4d1576ee58addd8d20b477faef5ea (diff) | |
download | linux-stable-6e68b08728ce3365c713f8663c6b05a79e2bbca1.tar.gz linux-stable-6e68b08728ce3365c713f8663c6b05a79e2bbca1.tar.bz2 linux-stable-6e68b08728ce3365c713f8663c6b05a79e2bbca1.zip |
x86/vdso: Use CONFIG_X86_X32_ABI to enable vdso prctl
The prctl code which references vdso_image_x32 is built when CONFIG_X86_X32
is set. This results in the following build failure:
LD init/built-in.o
arch/x86/built-in.o: In function `do_arch_prctl':
(.text+0x27466): undefined reference to `vdso_image_x32'
vdso_image_x32 depends on CONFIG_X86_X32_ABI. So we need to make the prctl
depend on that as well.
[ tglx: Massaged changelog ]
Fixes: 2eefd8789698 ("x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Link: http://lkml.kernel.org/r/1474073513-6656-1-git-send-email-vlee@freedesktop.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions