diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 20:19:37 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 20:19:37 +1000 |
commit | b13f6683ed4f42b2b4bed86ca2dec4ba478af47c (patch) | |
tree | 1cd23bb222a80f4b7e495062f5100367c9317072 /arch/powerpc/include/asm/mmu_context.h | |
parent | 096ff2ddba83bf022d593a3096d683e57c4befb0 (diff) | |
parent | e5afdf9dd515a9446c009f44f99f9bc2f91b89a7 (diff) | |
download | linux-stable-b13f6683ed4f42b2b4bed86ca2dec4ba478af47c.tar.gz linux-stable-b13f6683ed4f42b2b4bed86ca2dec4ba478af47c.tar.bz2 linux-stable-b13f6683ed4f42b2b4bed86ca2dec4ba478af47c.zip |
Merge branch 'topic/ppc-kvm' into next
Merge the topic branch we were sharing with kvm-ppc, Paul has also
merged it.
Diffstat (limited to 'arch/powerpc/include/asm/mmu_context.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu_context.h b/arch/powerpc/include/asm/mmu_context.h index a114248de2ee..da06e0496699 100644 --- a/arch/powerpc/include/asm/mmu_context.h +++ b/arch/powerpc/include/asm/mmu_context.h @@ -29,10 +29,14 @@ extern void mm_iommu_init(struct mm_struct *mm); extern void mm_iommu_cleanup(struct mm_struct *mm); extern struct mm_iommu_table_group_mem_t *mm_iommu_lookup(struct mm_struct *mm, unsigned long ua, unsigned long size); +extern struct mm_iommu_table_group_mem_t *mm_iommu_lookup_rm( + struct mm_struct *mm, unsigned long ua, unsigned long size); extern struct mm_iommu_table_group_mem_t *mm_iommu_find(struct mm_struct *mm, unsigned long ua, unsigned long entries); extern long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, unsigned long ua, unsigned long *hpa); +extern long mm_iommu_ua_to_hpa_rm(struct mm_iommu_table_group_mem_t *mem, + unsigned long ua, unsigned long *hpa); extern long mm_iommu_mapped_inc(struct mm_iommu_table_group_mem_t *mem); extern void mm_iommu_mapped_dec(struct mm_iommu_table_group_mem_t *mem); #endif |