aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-11-16 15:18:00 +0100
committerLinus Walleij <linus.walleij@linaro.org>2024-03-07 22:50:35 +0100
commit09d9d486614af5017eeb45e50dee6fbb9add97b1 (patch)
treedbf5ea1dafac7ac4e93172a11ad2286c14e9787e
parente2b63a2035341ccab24005a0cd084d5447a3c6f7 (diff)
downloadlinux-integrator-kernel-in-vmalloc-v6.8-rc1.tar.gz
hack to print highmem and vmalloc startkernel-in-vmalloc-v6.8-rc1
-rw-r--r--arch/arm/kernel/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index ff2299ce1ad7a3..9e867a7aa5d586 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -1158,6 +1158,10 @@ void __init setup_arch(char **cmdline_p)
/* Memory may have been removed so recalculate the bounds. */
adjust_lowmem_bounds();
+ pr_info("HIGHMEM starts at 0x%08x\n", (u32)high_memory);
+ pr_info("VMALLOC at 0x%08x-0x%08x\n", (u32)VMALLOC_START, (u32)VMALLOC_END);
+ pr_info("KERNEL at 0x%08x-0x%08x\n", (u32)KERNEL_OFFSET, (u32)(KERNEL_OFFSET+KERNEL_SECTION_SIZE));
+
early_ioremap_reset();
paging_init(mdesc);