1 // SPDX-License-Identifier: GPL-2.0-only
3 * Simple string functions.
5 * Copyright (C) 2014 Red Hat Inc.
8 * Vivek Goyal <vgoyal@redhat.com>
11 #include <linux/types.h>
13 #include "../boot/string.c"
15 void *memcpy(void *dst, const void *src, size_t len)
17 return __builtin_memcpy(dst, src, len);
20 void *memset(void *dst, int c, size_t len)
22 return __builtin_memset(dst, c, len);