From: Julien Grall <jgr...@amazon.com> We are using the 'mfn' to refer to machine frame. As this function deal with 'mfn', replace 'pfn' with 'mfn'.
Signed-off-by: Julien Grall <jgr...@amazon.com> --- I am not entirely sure to understand the comment on top of the function, so this change may be wrong. --- xen/arch/x86/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index aa0bf3d0ee..65bc03984d 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -1321,7 +1321,7 @@ static int put_data_pages(struct page_info *page, bool writeable, int pt_shift) } /* - * NB. Virtual address 'l2e' maps to a machine address within frame 'pfn'. + * NB. Virtual address 'l2e' maps to a machine address within frame 'mfn'. * Note also that this automatically deals correctly with linear p.t.'s. */ static int put_page_from_l2e(l2_pgentry_t l2e, mfn_t l2mfn, unsigned int flags) -- 2.17.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel