Skip to content

Commit 8e73293

Browse files
committed
parisc: Increase initial mapping to 64 MB with KALLSYMS
The 32MB initial kernel mapping can become too small when CONFIG_KALLSYMS is used. Increase the mapping to 64 MB in this case. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v6.0+
1 parent 11439c4 commit 8e73293

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/parisc/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ extern void __update_cache(pte_t pte);
8585
printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e))
8686

8787
/* This is the size of the initially mapped kernel memory */
88-
#if defined(CONFIG_64BIT)
88+
#if defined(CONFIG_64BIT) || defined(CONFIG_KALLSYMS)
8989
#define KERNEL_INITIAL_ORDER 26 /* 1<<26 = 64MB */
9090
#else
9191
#define KERNEL_INITIAL_ORDER 25 /* 1<<25 = 32MB */

0 commit comments

Comments
 (0)