blob: 01ad43873ad9c298f3a0749a927c41b6f1aaf72a [file] [log] [blame]
Thomas Gleixner40b0b3f2019-06-03 07:44:46 +02001// SPDX-License-Identifier: GPL-2.0-only
Vivek Goyal8fc5b4d2014-08-08 14:26:02 -07002/*
3 * Simple string functions.
4 *
5 * Copyright (C) 2014 Red Hat Inc.
6 *
7 * Author:
8 * Vivek Goyal <vgoyal@redhat.com>
Vivek Goyal8fc5b4d2014-08-08 14:26:02 -07009 */
10
Philipp Rudodf6f2802018-04-13 15:36:46 -070011#include <linux/types.h>
12
Vivek Goyal8fc5b4d2014-08-08 14:26:02 -070013#include "../boot/string.c"
Philipp Rudodf6f2802018-04-13 15:36:46 -070014
15void *memcpy(void *dst, const void *src, size_t len)
16{
17 return __builtin_memcpy(dst, src, len);
18}
19
20void *memset(void *dst, int c, size_t len)
21{
22 return __builtin_memset(dst, c, len);
23}