Skip to contentSkip to conversation

arch: powerpc: mm: fixed spelling error.

PATCH In review mistryalok 2 participants 2 messages Mar 22, 2016 PowerPC

lore
Share & tools
lore

mistryalok

author
#0 lore raw

PATCH 1/1 arch: powerpc: mm: fixed spelling error.

Fixed spelling error.

---
 arch/powerpc/mm/hash64_64k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/mm/hash64_64k.c +1 -1
index b2d659c..fe89a6d 100644
@@ -91,7 +91,7 @@ int __hash_page_4K(unsigned long ea, unsigned long access, unsigned long vsid,
 	    !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) {
 
 		/*
-		 * No CPU has hugepages but lacks no execute, so we
+		 * No CPU has huge pages but lacks no execute, so we
 		 * don't need to worry about that case
 		 */
 		rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap);
Signature · 1 line
1.9.1
#1 lore raw

Hi Alok

Thanks for wanting to contribute to the Linux kernel!

arch/powerpc/mm/hash64_64k.c int __hash_page_4K(unsigned long ea, unsigned long access, unsigned long vsid, · line 96

Quoted 8 lines · mistryalok

Fixed spelling error.

---
/*

arch/powerpc/mm/hash64_64k.c +1 -1
-		 * No CPU has hugepages but lacks no execute, so we
+		 * No CPU has huge pages but lacks no execute, so we
  		 * don't need to worry about that case
  		 */

Within the kernel, we have a lot of internal terminology. If you grep through the kernel source code, you'll find that in both the documentation and the code, we do use the term "hugepage". We also use "huge page", but "hugepage" is more common. Therefore I wouldn't call it a spelling error, just an internal term :)

Andrew

Signature · 2 lines
Andrew Donnellan              OzLabs, ADL Canberra
[email protected]  IBM Australia Limited