diff options
author | Andrey Ryabinin <[email protected]> | 2015-09-29 19:40:14 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-09-30 09:29:53 +0200 |
commit | 4ac86a6dcec1c3878de9747bf5a2aa4455be69e3 (patch) | |
tree | 1e55cf87959a74ccfde3c890b2a7d80db962294c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ccf79c238f1a06a801b4c4449b9bc8a42be2c7bc (diff) |
x86, efi, kasan: Fix build failure on !KASAN && KMEMCHECK=y kernels
With KMEMCHECK=y, KASAN=n we get this build failure:
arch/x86/platform/efi/efi.c:673:3: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
arch/x86/platform/efi/efi_64.c:139:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
arch/x86/include/asm/desc.h:121:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
Don't #undef memcpy if KASAN=n.
Reported-by: Ingo Molnar <[email protected]>
Reported-by: Sedat Dilek <[email protected]>
Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: 769a8089c1fd ("x86, efi, kasan: #undef memset/memcpy/memmove per arch")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions