On 09/17/2016 03:51 AM, Vinson Lee wrote:
vdso_image_x32 is generated if CONFIG_X86_X32_ABI.

This patch fixes this build error on CentOS 6.8 with gcc 4.4.

  LD      init/built-in.o
arch/x86/built-in.o: In function `do_arch_prctl':
(.text+0x27466): undefined reference to `vdso_image_x32'
arch/x86/built-in.o: In function `do_arch_prctl':
(.text+0x27477): undefined reference to `vdso_image_x32'

Fixes: 2eefd8789698 ("x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*")
Signed-off-by: Vinson Lee <v...@freedesktop.org>

Thanks!
Reviewed-by: Dmitry Safonov <dsafo...@virtuozzo.com>

Ifdeffery in arch/x86/include/asm/vdso.h dazzled my eyes.

--
             Dmitry

Reply via email to