x86/string: correct memmove()'s forwarding to memcpy()
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Feb 2021 12:59:56 +0000 (13:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Feb 2021 12:59:56 +0000 (13:59 +0100)
commit7b93d92a35dc7c0a6e5f1f79b3c887aa3e66ddc0
tree8f85a64cb4cd2e404caf1819af47665ac8ff8cf5
parentd203dbd69f1a02577dd6fe571d72beb980c548a6
x86/string: correct memmove()'s forwarding to memcpy()

With memcpy() expanding to the compiler builtin, we may not hand it
overlapping source and destination. We strictly mean to forward to our
own implementation (a few lines up in the same source file).

Fixes: 78825e1c60fa ("x86/string: Clean up x86/string.h")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/string.c