]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
add mm argument to pte/pmd/pud/pgd_free
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Feb 2008 06:29:14 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:18 +0000 (09:44 -0800)
commit5e5419734c8719cbc01af959ad9c0844002c0df5
treea075dca3f719946689efa0245464855cbf2a20ce
parent9f8f2172537de7af0b0fbd33502d18d52b1339bc
add mm argument to pte/pmd/pud/pgd_free

(with Martin Schwidefsky <schwidefsky@de.ibm.com>)

The pgd/pud/pmd/pte page table allocation functions get a mm_struct pointer as
first argument.  The free functions do not get the mm_struct argument.  This
is 1) asymmetrical and 2) to do mm related page table allocations the mm
argument is needed on the free function as well.

[kamalesh@linux.vnet.ibm.com: i386 fix]
[akpm@linux-foundation.org: coding-syle fixes]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
43 files changed:
arch/arm/kernel/smp.c
arch/arm/mm/ioremap.c
arch/arm/mm/pgd.c
arch/frv/mm/pgalloc.c
arch/powerpc/mm/pgtable_32.c
arch/ppc/mm/pgtable.c
arch/um/kernel/mem.c
arch/um/kernel/skas/mmu.c
arch/x86/mm/pgtable_32.c
include/asm-alpha/pgalloc.h
include/asm-alpha/tlb.h
include/asm-arm/pgalloc.h
include/asm-arm/tlb.h
include/asm-avr32/pgalloc.h
include/asm-cris/pgalloc.h
include/asm-frv/pgalloc.h
include/asm-frv/pgtable.h
include/asm-generic/4level-fixup.h
include/asm-generic/pgtable-nopmd.h
include/asm-generic/pgtable-nopud.h
include/asm-ia64/pgalloc.h
include/asm-m32r/pgalloc.h
include/asm-m68k/motorola_pgalloc.h
include/asm-m68k/sun3_pgalloc.h
include/asm-mips/pgalloc.h
include/asm-parisc/pgalloc.h
include/asm-parisc/tlb.h
include/asm-powerpc/pgalloc-32.h
include/asm-powerpc/pgalloc-64.h
include/asm-ppc/pgalloc.h
include/asm-s390/pgalloc.h
include/asm-s390/tlb.h
include/asm-sh/pgalloc.h
include/asm-sparc/pgalloc.h
include/asm-sparc64/pgalloc.h
include/asm-sparc64/tlb.h
include/asm-um/pgalloc.h
include/asm-x86/pgalloc_32.h
include/asm-x86/pgalloc_64.h
include/asm-xtensa/pgalloc.h
include/asm-xtensa/tlb.h
kernel/fork.c
mm/memory.c