From 60b3135822bbbb3a996bf8f3d2f15e83fe2e2d82 Mon Sep 17 00:00:00 2001 From: Kalesh Singh Date: Wed, 31 Jul 2024 09:57:45 -0700 Subject: [PATCH] ANDROID: 16K: Remove androidboot from page_shift kernel param androidboot.page_shift was originally named this way since init creates ro sys props for all the androidboot parameters. But it really is a kernel command line option not a bootconfig option. The sys prop is not currently used in the platform. Rename 'androidboot.page_shift' to just 'page_shift' as VTS will fail if there are androidboot* options found in the kernel command line and not in bootconfig. Bug: 383389337 Bug: 356439363 Test: atest VtsBootconfigTest Change-Id: Ie3e895525a9ca21ed2b3d3a39db75206a33b1cdc Signed-off-by: Kalesh Singh --- mm/page_size_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_size_compat.c b/mm/page_size_compat.c index 3bb6f0a59eac..1e265b0da16a 100644 --- a/mm/page_size_compat.c +++ b/mm/page_size_compat.c @@ -42,7 +42,7 @@ static int __init early_page_shift_compat(char *buf) return 0; } -early_param("androidboot.page_shift", early_page_shift_compat); +early_param("page_shift", early_page_shift_compat); static int __init init_mmap_rnd_bits(void) {