Andrey Ryabinin
a523841ee4
arch/x86/include/asm/efi.h: fix build failure
...
With KMEMCHECK=y, KASAN=n:
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.
Fixes: 769a8089c1fd ("x86, efi, kasan: #undef memset/memcpy/memmove per arch")
Signed-off-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Reported-by: Ingo Molnar <mingo@kernel.org>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-10-01 21:42:35 -04:00
..
2015-09-25 11:16:53 -07:00
2015-09-16 15:47:51 +02:00
2015-09-27 06:48:48 -04:00
2015-09-25 10:51:40 -07:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-05 00:56:51 +02:00
2015-09-15 13:18:04 -05:00
2015-09-10 13:29:01 -07:00
2015-09-10 18:19:42 -07:00
2015-09-25 11:16:53 -07:00
2015-09-10 13:29:01 -07:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-15 13:18:04 -05:00
2015-09-27 18:22:34 -04:00
2015-09-15 13:18:04 -05:00
2015-09-08 18:16:02 +08:00
2015-09-10 13:29:01 -07:00
2015-09-08 17:53:48 +02:00
2015-09-25 11:16:53 -07:00
2015-09-25 10:51:40 -07:00
2015-09-01 14:04:50 -07:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-09-28 12:27:18 -04:00
2015-09-01 14:04:50 -07:00
2015-09-16 15:47:51 +02:00
2015-10-01 21:42:35 -04:00
2015-09-15 13:18:04 -05:00
2015-09-10 13:29:01 -07:00