.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2012 ARM Ltd. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
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 | | - * |
---|
13 | | - * You should have received a copy of the GNU General Public License |
---|
14 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
15 | 4 | */ |
---|
16 | 5 | |
---|
17 | 6 | #include <linux/linkage.h> |
---|
.. | .. |
---|
28 | 17 | * x0 - dest |
---|
29 | 18 | * x1 - src |
---|
30 | 19 | */ |
---|
31 | | -ENTRY(copy_page) |
---|
| 20 | +SYM_FUNC_START_PI(copy_page) |
---|
32 | 21 | alternative_if ARM64_HAS_NO_HW_PREFETCH |
---|
33 | 22 | // Prefetch three cache lines ahead. |
---|
34 | 23 | prfm pldl1strm, [x1, #128] |
---|
.. | .. |
---|
86 | 75 | stnp x16, x17, [x0, #112 - 256] |
---|
87 | 76 | |
---|
88 | 77 | ret |
---|
89 | | -ENDPROC(copy_page) |
---|
| 78 | +SYM_FUNC_END_PI(copy_page) |
---|
| 79 | +EXPORT_SYMBOL(copy_page) |
---|