diff options
| author | Borislav Petkov <[email protected]> | 2015-09-21 09:48:29 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-09-21 09:56:59 +0200 |
| commit | 93f13a9f96771a064c716364aebc6e283b186eb8 (patch) | |
| tree | 6bc216ff5bd3a6caf39c6f1230ff239c1fdb6253 /tools/perf/scripts/python/bin | |
| parent | 3dc33bd30f3e1c1bcaaafa3482737694debf0f0b (diff) | |
x86/entry/vsyscall: Fix undefined symbol warning
Commit:
3dc33bd30f3e1 ("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 <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions