mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 11:56:12 +07:00
powerpc: Fix warning in setup_64.c when CONFIG_RELOCATABLE=y
When CONFIG_RELOCATABLE is enabled, PHYSICAL_START is actually a variable of type phys_addr_t. That means to print it we need to cast to unsigned long long and use llx. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
c204ff6559
commit
e468455e58
@ -424,8 +424,8 @@ void __init setup_system(void)
|
|||||||
printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
|
printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
|
||||||
#endif /* CONFIG_PPC_STD_MMU_64 */
|
#endif /* CONFIG_PPC_STD_MMU_64 */
|
||||||
if (PHYSICAL_START > 0)
|
if (PHYSICAL_START > 0)
|
||||||
printk("physical_start = 0x%lx\n",
|
printk("physical_start = 0x%llx\n",
|
||||||
PHYSICAL_START);
|
(unsigned long long)PHYSICAL_START);
|
||||||
printk("-----------------------------------------------------\n");
|
printk("-----------------------------------------------------\n");
|
||||||
|
|
||||||
DBG(" <- setup_system()\n");
|
DBG(" <- setup_system()\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user