diff options
author | Andrey Ryabinin <ryabinin.a.a@gmail.com> | 2015-10-02 00:36:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-02 03:42:35 +0200 |
commit | a523841ee4e506fa1f05ff3a85b1e6d8176a3d4d (patch) | |
tree | 4eec3889a7283cb9549e4a123ca444d8b75e15c1 /arch/unicore32 | |
parent | Merge tag 'upstream-4.3-rc4' of git://git.infradead.org/linux-ubifs (diff) | |
download | linux-a523841ee4e506fa1f05ff3a85b1e6d8176a3d4d.tar.xz linux-a523841ee4e506fa1f05ff3a85b1e6d8176a3d4d.zip |
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>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions