hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mm/proc-arm925.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/arch/arm/mm/arm925.S: MMU functions for ARM925
34 *
....@@ -10,21 +11,6 @@
1011 * Copyright (C) 2004 Nokia Corporation by Tony Lindgren <tony@atomide.com>
1112 *
1213 * hacked for non-paged-MM by Hyok S. Choi, 2004.
13
- *
14
- * This program is free software; you can redistribute it and/or modify
15
- * it under the terms of the GNU General Public License as published by
16
- * the Free Software Foundation; either version 2 of the License, or
17
- * (at your option) any later version.
18
- *
19
- * This program is distributed in the hope that it will be useful,
20
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- * GNU General Public License for more details.
23
- *
24
- * You should have received a copy of the GNU General Public License
25
- * along with this program; if not, write to the Free Software
26
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
- *
2814 *
2915 * These are the low level assembler for performing cache and TLB
3016 * functions on the arm925.
....@@ -51,10 +37,10 @@
5137
5238 #include <linux/linkage.h>
5339 #include <linux/init.h>
40
+#include <linux/pgtable.h>
5441 #include <asm/assembler.h>
5542 #include <asm/hwcap.h>
5643 #include <asm/pgtable-hwdef.h>
57
-#include <asm/pgtable.h>
5844 #include <asm/page.h>
5945 #include <asm/ptrace.h>
6046 #include "proc-macros.S"
....@@ -491,7 +477,7 @@
491477
492478 .align
493479
494
- .section ".proc.info.init", #alloc
480
+ .section ".proc.info.init", "a"
495481
496482 .macro arm925_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
497483 .type __\name\()_proc_info,#object