arm64: mm: Correct fixmap pagetable types
authorSteve Capper <steve.capper@linaro.org>
Fri, 17 Oct 2014 14:27:38 +0000 (15:27 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 20 Oct 2014 16:47:02 +0000 (17:47 +0100)
commitc0260ba906c4dfbcccd6414c3e2c0e73a7d7e35a
tree0afa6a7b4183036d6d8ad6b2ee60d21c9288fbda
parent971a5b6fe634bb7b617d8c5f25b6a3ddbc600194
arm64: mm: Correct fixmap pagetable types

Compiling with STRICT_MM_TYPECHECKS gives the following
arch/arm64/mm/ioremap.c: In function ‘early_ioremap_init’:
arch/arm64/mm/ioremap.c:152:2: warning: passing argument 3 of
‘pud_populate’ from incompatible pointer type
  pud_populate(&init_mm, pud, bm_pmd);

The data types for bm_pmd and bm_pud are incorrectly set to pte_t.
This patch corrects these types.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/ioremap.c