]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/mm/pgtable_32.c
[POWERPC] Fix __set_fixmap() for STRICT_MM_TYPECHECKS
[linux-2.6-omap-h63xx.git] / arch / powerpc / mm / pgtable_32.c
index 80d1babb230d5d2547c754613d3c5aeaba5220ab..e0ff59f21135f53e4cb45a0ff4471bc5d3e289f0 100644 (file)
@@ -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++;
 }