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-10 13:29:01 -07:00
2015-09-04 15:49:32 -07:00
2015-09-04 23:21:07 +08:00
2015-09-22 22:40:36 +02:00
2015-07-06 15:28:55 +02:00
2015-10-01 21:42:35 -04:00
2015-09-27 12:51:39 -04:00
2015-09-25 10:31:29 +02:00
2015-09-16 15:47:51 +02:00
2015-08-22 14:52:16 +02:00
2015-08-18 09:39:47 +02:00
2015-09-17 11:01:34 -07:00
2015-08-09 22:50:05 -07:00
2015-03-23 11:14:17 +01:00
2015-09-15 13:18:04 -05:00
2015-09-10 13:29:01 -07:00
2015-07-31 10:23:23 +02:00
2015-08-13 10:12:54 +02:00
2015-02-16 14:58:12 -08:00
2015-07-06 15:23:30 +02:00
2015-09-10 16:21:11 -07:00
2015-06-03 18:51:37 +02:00
2015-09-17 11:01:34 -07:00
2015-07-17 12:50:14 +02:00
2015-09-01 08:40:25 -07:00
2015-04-02 16:42:08 +02:00