Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] powerpc: Fix accidentally-working typo in __pud_free_tlb

One of the parameters to the __pud_free_tlb() macro for powerpc is
incorrect (see patch) . We get away with it by accident, because the one
place the macro is called, the second parameter is a variable named "pud".

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

David Gibson and committed by
Linus Torvalds
200a4552 9ff4ced4

+1 -1
+1 -1
include/asm-powerpc/pgalloc.h
··· 146 146 pgtable_free_tlb(tlb, pgtable_free_cache(pmd, \ 147 147 PMD_CACHE_NUM, PMD_TABLE_SIZE-1)) 148 148 #ifndef CONFIG_PPC_64K_PAGES 149 - #define __pud_free_tlb(tlb, pmd) \ 149 + #define __pud_free_tlb(tlb, pud) \ 150 150 pgtable_free_tlb(tlb, pgtable_free_cache(pud, \ 151 151 PUD_CACHE_NUM, PUD_TABLE_SIZE-1)) 152 152 #endif /* CONFIG_PPC_64K_PAGES */