Skip to contentSkip to conversation

powerpc/mm: remove obsolete comment about page size name array

PATCH In review Scott Wood 2 participants 2 messages Jun 14, 2012 – Jun 15, 2012 PowerPC

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/2 powerpc/mm: remove obsolete comment about page size name array

The array of names in hugetlbpage.c no longer exists.

---
 arch/powerpc/include/asm/mmu.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
arch/powerpc/include/asm/mmu.h +1 -6
index f014552..a9e9ec6 100644
@@ -163,12 +163,7 @@ extern u64 ppc64_rma_size;
  * to think about, feedback welcome. --BenH.
  */
 
-/* There are #define as they have to be used in assembly
- *
- * WARNING: If you change this list, make sure to update the array of
- * names currently in arch/powerpc/mm/hugetlbpage.c or bad things will
- * happen
- */
+/* There are #define as they have to be used in assembly */
 #define MMU_PAGE_4K	0
 #define MMU_PAGE_16K	1
 #define MMU_PAGE_64K	2
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 12 lines · Scott Wood

The array of names in hugetlbpage.c no longer exists.

---
 arch/powerpc/include/asm/mmu.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
arch/powerpc/include/asm/mmu.h +0 -0
index f014552..a9e9ec6 100644

arch/powerpc/include/asm/mmu.h extern u64 ppc64_rma_size; · line 166

Quoted 10 lines
arch/powerpc/include/asm/mmu.h +1 -6
@@ -163,12 +163,7 @@ extern u64 ppc64_rma_size;
  * to think about, feedback welcome. --BenH.
  */
 
-/* There are #define as they have to be used in assembly
- *
- * WARNING: If you change this list, make sure to update the array of
- * names currently in arch/powerpc/mm/hugetlbpage.c or bad things will
- * happen
- */
+/* There are #define as they have to be used in assembly */
     ^^^^^^

Should be "These", I'll fix it up.

cheers