Commit fc06755e authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman
Browse files

powerpc/32: Drop a stale comment about reservation of gigantic pages



A comment about the reservation of gigantic pages was left in MMU_init()
after commit 79cc38de ("powerpc/mm/hugetlb: Add support for
reserving gigantic huge pages via kernel command line")

Remove it.

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/959d77be630b9b46a7458f0fbd41dc3a94ec811a.1661938317.git.christophe.leroy@csgroup.eu
parent 8b4bb0ad
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -82,10 +82,6 @@ void __init MMU_init(void)
	if (ppc_md.progress)
		ppc_md.progress("MMU:enter", 0x111);

	/*
	 * Reserve gigantic pages for hugetlb.  This MUST occur before
	 * lowmem_end_addr is initialized below.
	 */
	if (memblock.memory.cnt > 1) {
#ifndef CONFIG_WII
		memblock_enforce_memory_limit(memblock.memory.regions[0].size);