aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2022-01-20 00:55:45 +0000
committerHelge Deller <deller@gmx.de>2022-01-20 20:39:19 +0100
commit4f05e5a3946923676e147ad0e33c80df8249b2fe (patch)
tree9df52479554a1ed665b692a5e4156b2bb9c09637
parent30f308999426871e1b896384093e9a681099f521 (diff)
downloadlinux-next-4f05e5a3946923676e147ad0e33c80df8249b2fe.tar.gz
parisc: Drop __init from map_pages declaration
Notice: this object is not reachable from any branch.
With huge kernel pages, we randomly eat a SPARC in map_pages(). This is fixed by dropping __init from the declaration. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org
Notice: this object is not reachable from any branch.
-rw-r--r--arch/parisc/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index 1ae31db9988f5..b90d7e408b0dd 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -337,7 +337,7 @@ static void __init setup_bootmem(void)
static bool kernel_set_to_readonly;
-static void __init map_pages(unsigned long start_vaddr,
+static void map_pages(unsigned long start_vaddr,
unsigned long start_paddr, unsigned long size,
pgprot_t pgprot, int force)
{