mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
powerpc: handover page flags with a pgprot_t parameter
In order to avoid multiple conversions, handover directly a pgprot_t to map_kernel_page() as already done for radix. Do the same for __ioremap_caller() and __ioremap_at(). Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
56f3c1413f
commit
c766ee7223
20 changed files with 64 additions and 77 deletions
|
@ -72,7 +72,7 @@ enum fixed_addresses {
|
|||
static inline void __set_fixmap(enum fixed_addresses idx,
|
||||
phys_addr_t phys, pgprot_t flags)
|
||||
{
|
||||
map_kernel_page(fix_to_virt(idx), phys, pgprot_val(flags));
|
||||
map_kernel_page(fix_to_virt(idx), phys, flags);
|
||||
}
|
||||
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue