.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2013 Regents of the University of California |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation, version 2. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, |
---|
9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | | - * GNU General Public License for more details. |
---|
12 | 4 | */ |
---|
13 | 5 | |
---|
14 | 6 | #include <linux/linkage.h> |
---|
15 | 7 | #include <asm/asm.h> |
---|
16 | 8 | |
---|
17 | 9 | /* void *memcpy(void *, const void *, size_t) */ |
---|
18 | | -ENTRY(memcpy) |
---|
| 10 | +ENTRY(__memcpy) |
---|
| 11 | +WEAK(memcpy) |
---|
19 | 12 | move t6, a0 /* Preserve return value */ |
---|
20 | 13 | |
---|
21 | 14 | /* Defer to byte-oriented copy for small sizes */ |
---|
.. | .. |
---|
112 | 105 | bltu a1, a3, 5b |
---|
113 | 106 | 6: |
---|
114 | 107 | ret |
---|
115 | | -END(memcpy) |
---|
| 108 | +END(__memcpy) |
---|