forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm64/lib/copy_page.S
....@@ -1,17 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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/>.
154 */
165
176 #include <linux/linkage.h>
....@@ -28,7 +17,7 @@
2817 * x0 - dest
2918 * x1 - src
3019 */
31
-ENTRY(copy_page)
20
+SYM_FUNC_START_PI(copy_page)
3221 alternative_if ARM64_HAS_NO_HW_PREFETCH
3322 // Prefetch three cache lines ahead.
3423 prfm pldl1strm, [x1, #128]
....@@ -86,4 +75,5 @@
8675 stnp x16, x17, [x0, #112 - 256]
8776
8877 ret
89
-ENDPROC(copy_page)
78
+SYM_FUNC_END_PI(copy_page)
79
+EXPORT_SYMBOL(copy_page)