|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/P2M: correct type use in p2m_put_gfn()
commit 0b6bad1d8f3da7b81901f82ebad09bdb9ebe922b
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Feb 5 10:29:20 2026 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Feb 5 10:29:20 2026 +0100
x86/P2M: correct type use in p2m_put_gfn()
Everywhere else gfn_t are passed into respective GFN locking macros: Do so
here as well.
Amends: 819cdc5a7301 ("x86/p2m: re-arrange {,__}put_gfn()")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
xen/arch/x86/mm/p2m.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c
index 8d34357bcb..e915da26a8 100644
--- a/xen/arch/x86/mm/p2m.c
+++ b/xen/arch/x86/mm/p2m.c
@@ -338,9 +338,9 @@ mfn_t p2m_get_gfn_type_access(struct p2m_domain *p2m, gfn_t
gfn,
void p2m_put_gfn(struct p2m_domain *p2m, gfn_t gfn)
{
- ASSERT(gfn_locked_by_me(p2m, gfn_x(gfn)));
+ ASSERT(gfn_locked_by_me(p2m, gfn));
- gfn_unlock(p2m, gfn_x(gfn), 0);
+ gfn_unlock(p2m, gfn, 0);
}
static struct page_info *get_page_from_mfn_and_type(
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |