[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: p2m: Rename parameter in p2m_{remove, write}_pte...
commit ae0275121ee8e8321960f988756f5407a452f657 Author: Julien Grall <julien.grall@xxxxxxx> AuthorDate: Thu Sep 15 12:28:19 2016 +0100 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Tue Sep 27 18:13:42 2016 -0700 xen/arm: p2m: Rename parameter in p2m_{remove,write}_pte... to make clear of the usage. I.e it is used to inform whether Xen needs to clean the entry after writing in the page table. Signed-off-by: Julien Grall <julien.grall@xxxxxxx> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Tested-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx> --- xen/arch/arm/p2m.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 4499feb..929a96b 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -390,19 +390,19 @@ static lpae_t mfn_to_p2m_entry(mfn_t mfn, p2m_type_t t, p2m_access_t a) return e; } -static inline void p2m_write_pte(lpae_t *p, lpae_t pte, bool_t flush_cache) +static inline void p2m_write_pte(lpae_t *p, lpae_t pte, bool clean_pte) { write_pte(p, pte); - if ( flush_cache ) + if ( clean_pte ) clean_dcache(*p); } -static inline void p2m_remove_pte(lpae_t *p, bool_t flush_cache) +static inline void p2m_remove_pte(lpae_t *p, bool clean_pte) { lpae_t pte; memset(&pte, 0x00, sizeof(pte)); - p2m_write_pte(p, pte, flush_cache); + p2m_write_pte(p, pte, clean_pte); } /* -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |