Merge tag 'nfs-for-4.19-2' of git://git.linux-nfs.org/projects/anna/linux-nfs
[linux-2.6-microblaze.git] / arch / x86 / purgatory / string.c
1 /*
2  * Simple string functions.
3  *
4  * Copyright (C) 2014 Red Hat Inc.
5  *
6  * Author:
7  *       Vivek Goyal <vgoyal@redhat.com>
8  *
9  * This source code is licensed under the GNU General Public License,
10  * Version 2.  See the file COPYING for more details.
11  */
12
13 #include <linux/types.h>
14
15 #include "../boot/string.c"
16
17 void *memcpy(void *dst, const void *src, size_t len)
18 {
19         return __builtin_memcpy(dst, src, len);
20 }
21
22 void *memset(void *dst, int c, size_t len)
23 {
24         return __builtin_memset(dst, c, len);
25 }