Skip to content

Commit

Permalink
[POWERPC] Fix __set_fixmap() for STRICT_MM_TYPECHECKS
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
David Gibson authored and Paul Mackerras committed May 23, 2008
1 parent ecc240f commit 46a7417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

Expand Down

0 comments on commit 46a7417

Please sign in to comment.