forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mm/proc-mohawk.S
....@@ -1,31 +1,18 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/arch/arm/mm/proc-mohawk.S: MMU functions for Marvell PJ1 core
34 *
45 * PJ1 (codename Mohawk) is a hybrid of the xscale3 and Marvell's own core.
56 *
67 * Heavily based on proc-arm926.S and proc-xsc3.S
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, write to the Free Software
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
218 */
229
2310 #include <linux/linkage.h>
2411 #include <linux/init.h>
12
+#include <linux/pgtable.h>
2513 #include <asm/assembler.h>
2614 #include <asm/hwcap.h>
2715 #include <asm/pgtable-hwdef.h>
28
-#include <asm/pgtable.h>
2916 #include <asm/page.h>
3017 #include <asm/ptrace.h>
3118 #include "proc-macros.S"
....@@ -429,7 +416,7 @@
429416
430417 .align
431418
432
- .section ".proc.info.init", #alloc
419
+ .section ".proc.info.init", "a"
433420
434421 .type __88sv331x_proc_info,#object
435422 __88sv331x_proc_info: