diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2011-11-22 17:30:27 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2011-12-08 10:30:36 +0000 |
commit | 03a6b8274cc61fb9bb77aaa102e63840461c5f3a (patch) | |
tree | 9d64db13ff38f31b50a69f2169828c34ac6a3b21 /arch/arm/mach-ep93xx | |
parent | 4e8ee7de227e3ab9a72040b448ad728c5428a042 (diff) |
ARM: pgtable: Fix compiler warning in ioremap.c introduced by nopud
With the arch/arm code conversion to pgtable-nopud.h, the section and
supersection (un|re)map code triggers compiler warnings on UP systems.
This is caused by pmd_offset() being given a pgd_t argument rather than
a pud_t one. This patch makes the necessary conversion with the
assumption that the pud is folded into the pgd. The page table setting
code only loops over the pmd which is enough with the classic page
tables. This code is not compiled when LPAE is enabled.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-ep93xx')
0 files changed, 0 insertions, 0 deletions