aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/purgatory/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/purgatory/string.c')
-rw-r--r--arch/x86/purgatory/string.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/purgatory/string.c b/arch/x86/purgatory/string.c
index d886b1fa36f0..795ca4f2cb3c 100644
--- a/arch/x86/purgatory/string.c
+++ b/arch/x86/purgatory/string.c
@@ -10,4 +10,16 @@
10 * Version 2. See the file COPYING for more details. 10 * Version 2. See the file COPYING for more details.
11 */ 11 */
12 12
13#include <linux/types.h>
14
13#include "../boot/string.c" 15#include "../boot/string.c"
16
17void *memcpy(void *dst, const void *src, size_t len)
18{
19 return __builtin_memcpy(dst, src, len);
20}
21
22void *memset(void *dst, int c, size_t len)
23{
24 return __builtin_memset(dst, c, len);
25}