diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-05-19 16:16:00 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-23 16:15:32 +1000 |
commit | 46a7417963a84f67984af1af59d43261159dd96b (patch) | |
tree | ec786fb8fe07df5d2b2dffa49179c3c08265554c /arch/powerpc | |
parent | ecc240f90bce23651f9866a1523ba55faa89f009 (diff) | |
download | op-kernel-dev-46a7417963a84f67984af1af59d43261159dd96b.zip op-kernel-dev-46a7417963a84f67984af1af59d43261159dd96b.tar.gz |
[POWERPC] Fix __set_fixmap() for STRICT_MM_TYPECHECKS
__set_fixmap() in pgtable_32.c currently fails to compile if
STRICT_MM_TYPECHECKS is defined. This fixes it.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/mm/pgtable_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c index 80d1bab..e0ff59f 100644 --- a/arch/powerpc/mm/pgtable_32.c +++ b/arch/powerpc/mm/pgtable_32.c @@ -402,7 +402,7 @@ void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) return; } - map_page(address, phys, flags); + map_page(address, phys, pgprot_val(flags)); fixmaps++; } |