diff mbox series

parisc: Drop __init from map_pages declaration

Message ID YeizEbZ6JftgFyw1@mx3210.localdomain (mailing list archive)
State Superseded
Headers show
Series parisc: Drop __init from map_pages declaration | expand

Commit Message

John David Anglin Jan. 20, 2022, 12:55 a.m. UTC
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>
---
diff mbox series

Patch

diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index 1ae31db9988f..b90d7e408b0d 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)
 {