]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: thp: fix the update_mmu_cache() last argument passing in mm/huge_memory.c
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 28 Sep 2012 00:19:51 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:32 +0000 (15:03 +1000)
commit52b09e310b6788a6866fcaed2163cfe1ca0a97b9
treed00f70db16da8504abb45b41c6e8d821d7f2eaed
parenteeb359ca800e9ebfe3a998c01a2247f1eab64142
mm: thp: fix the update_mmu_cache() last argument passing in mm/huge_memory.c

The update_mmu_cache() takes a pointer (to pte_t by default) as the last
argument but the huge_memory.c passes a pmd_t value.  The patch changes
the argument to the pmd_t * pointer.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c