| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mm/arm925.S: MMU functions for ARM925 |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 10 | 11 | * Copyright (C) 2004 Nokia Corporation by Tony Lindgren <tony@atomide.com> |
|---|
| 11 | 12 | * |
|---|
| 12 | 13 | * 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 | | - * |
|---|
| 28 | 14 | * |
|---|
| 29 | 15 | * These are the low level assembler for performing cache and TLB |
|---|
| 30 | 16 | * functions on the arm925. |
|---|
| .. | .. |
|---|
| 51 | 37 | |
|---|
| 52 | 38 | #include <linux/linkage.h> |
|---|
| 53 | 39 | #include <linux/init.h> |
|---|
| 40 | +#include <linux/pgtable.h> |
|---|
| 54 | 41 | #include <asm/assembler.h> |
|---|
| 55 | 42 | #include <asm/hwcap.h> |
|---|
| 56 | 43 | #include <asm/pgtable-hwdef.h> |
|---|
| 57 | | -#include <asm/pgtable.h> |
|---|
| 58 | 44 | #include <asm/page.h> |
|---|
| 59 | 45 | #include <asm/ptrace.h> |
|---|
| 60 | 46 | #include "proc-macros.S" |
|---|
| .. | .. |
|---|
| 491 | 477 | |
|---|
| 492 | 478 | .align |
|---|
| 493 | 479 | |
|---|
| 494 | | - .section ".proc.info.init", #alloc |
|---|
| 480 | + .section ".proc.info.init", "a" |
|---|
| 495 | 481 | |
|---|
| 496 | 482 | .macro arm925_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache |
|---|
| 497 | 483 | .type __\name\()_proc_info,#object |
|---|