2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/arch/x86/entry/vsyscall
Borislav Petkov 93f13a9f96 x86/entry/vsyscall: Fix undefined symbol warning
Commit:

  3dc33bd30f ("x86/entry/vsyscall: Add CONFIG to control default")

did the ifdef/elif thing but GCC doesn't like that:

  arch/x86/entry/vsyscall/vsyscall_64.c:44:7: warning: "CONFIG_LEGACY_VSYSCALL_NONE" is not defined [-Wundef]
   #elif CONFIG_LEGACY_VSYSCALL_NONE
         ^

Use defined() instead.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20150921074829.GA3550@pd.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-09-21 09:56:59 +02:00
..
Makefile x86/asm/entry: Move the vsyscall code to arch/x86/entry/vsyscall/ 2015-06-04 07:37:37 +02:00
vsyscall_64.c x86/entry/vsyscall: Fix undefined symbol warning 2015-09-21 09:56:59 +02:00
vsyscall_emu_64.S x86/asm/entry: Move the vsyscall code to arch/x86/entry/vsyscall/ 2015-06-04 07:37:37 +02:00
vsyscall_gtod.c x86/asm/entry: Move the vsyscall code to arch/x86/entry/vsyscall/ 2015-06-04 07:37:37 +02:00
vsyscall_trace.h x86/asm/entry: Move the vsyscall code to arch/x86/entry/vsyscall/ 2015-06-04 07:37:37 +02:00