ANDROID: kernel: Fix debug_kinfo warning message

Fix warning message as CONFIG_DEBUG_VIRTUAL=y

Bug: 188614550
Fixes: 570ae01268 ("ANDROID: kernel: Fix debug_kinfo warning message")
Signed-off-by: Jone Chou <jonechou@google.com>
Change-Id: Ia18fb96d8c922e748206bf0ee293567ee94fb99f
This commit is contained in:
Jone Chou
2021-05-21 12:12:39 +08:00
parent fa6ac567ed
commit a806a7915c

View File

@@ -148,7 +148,7 @@ static int debug_kinfo_probe(struct platform_device *pdev)
info->_token_index_pa = (u64)__pa_symbol((volatile void *)kallsyms_token_index);
info->_markers_pa = (u64)__pa_symbol((volatile void *)kallsyms_markers);
info->thread_size = THREAD_SIZE;
info->swapper_pg_dir_pa = (u64)virt_to_phys(swapper_pg_dir);
info->swapper_pg_dir_pa = (u64)__pa_symbol(swapper_pg_dir);
strlcpy(info->last_uts_release, init_utsname()->release, sizeof(info->last_uts_release));
update_kernel_all_info(all_info);