]> 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>
Fri, 5 Oct 2012 04:01:08 +0000 (14:01 +1000)
commita2cb72e9103fef538b119a5d8e304255f835b580
tree99cd247681d4a893f5896574623248b15b562da3
parentd38d4927aede99ebc4a1291960510f05dff8f266
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