OSDN Git Service

powerpc/mm: Remove very old comment in hash-4k.h
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Nov 2018 08:18:05 +0000 (19:18 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 22 Dec 2018 10:04:27 +0000 (21:04 +1100)
This comment talks about PTEs being 64-bits and PMD/PGD being 32-bits,
but that hasn't been true since 2005 when David Gibson implemented
4-level page tables in the commit titled "Four level pagetables for
ppc64".

Remove it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/hash-4k.h

index 15bc16b..cf5ba52 100644 (file)
@@ -1,11 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _ASM_POWERPC_BOOK3S_64_HASH_4K_H
 #define _ASM_POWERPC_BOOK3S_64_HASH_4K_H
-/*
- * Entries per page directory level.  The PTE level must use a 64b record
- * for each page table entry.  The PMD and PGD level use a 32b record for
- * each entry by assuming that each entry is page aligned.
- */
+
 #define H_PTE_INDEX_SIZE  9
 #define H_PMD_INDEX_SIZE  7
 #define H_PUD_INDEX_SIZE  9