Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc44cd2d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: sm8150: Enable vmem layout prints"

parents 461f97be 41e9022b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ CONFIG_ZSMALLOC=y
CONFIG_SECCOMP=y
# CONFIG_UNMAP_KERNEL_AT_EL0 is not set
# CONFIG_HARDEN_BRANCH_PREDICTOR is not set
CONFIG_PRINT_VMEMLAYOUT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
CONFIG_CP15_BARRIER_EMULATION=y
+2 −1
Original line number Diff line number Diff line
@@ -602,6 +602,7 @@ void __init mem_init(void)

	mem_init_print_info(NULL);

#ifdef CONFIG_PRINT_VMEMLAYOUT
#define MLK(b, t) b, t, ((t) - (b)) >> 10
#define MLM(b, t) b, t, ((t) - (b)) >> 20
#define MLG(b, t) b, t, ((t) - (b)) >> 30
@@ -644,7 +645,7 @@ void __init mem_init(void)
#undef MLK
#undef MLM
#undef MLK_ROUNDUP

#endif
	/*
	 * Check boundaries twice: Some fundamental inconsistencies can be
	 * detected at build time already.