hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / x86 / purgatory / string.c
blob795ca4f2cb3c912e37f214802cde76fc4fea7985
1 /*
2 * Simple string functions.
4 * Copyright (C) 2014 Red Hat Inc.
6 * Author:
7 * Vivek Goyal <vgoyal@redhat.com>
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
13 #include <linux/types.h>
15 #include "../boot/string.c"
17 void *memcpy(void *dst, const void *src, size_t len)
19 return __builtin_memcpy(dst, src, len);
22 void *memset(void *dst, int c, size_t len)
24 return __builtin_memset(dst, c, len);