mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
[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>
This commit is contained in:
parent
ecc240f90b
commit
46a7417963
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user