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 <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2024-07-31 09:57:45 -07:00
committed by Carlos Llamas
parent 5e32ba9023
commit 60b3135822

View File

@@ -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)
{