[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v5 19/23] x86/mm: export get_page_light via asm-x86/mm.h
It is going to be needed by common x86 mm code and pv mm code. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- xen/arch/x86/mm.c | 2 +- xen/include/asm-x86/mm.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index f9cc5a0f6f..c3a26fe03d 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -1955,7 +1955,7 @@ int get_page(struct page_info *page, struct domain *domain) * acquired reference again. * Due to get_page() reserving one reference, this call cannot fail. */ -static void get_page_light(struct page_info *page) +void get_page_light(struct page_info *page) { unsigned long x, nx, y = page->count_info; diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h index fbb98e80c6..1f62155d56 100644 --- a/xen/include/asm-x86/mm.h +++ b/xen/include/asm-x86/mm.h @@ -363,6 +363,7 @@ int put_old_guest_table(struct vcpu *); int get_page_from_l1e( l1_pgentry_t l1e, struct domain *l1e_owner, struct domain *pg_owner); void put_page_from_l1e(l1_pgentry_t l1e, struct domain *l1e_owner); +void get_page_light(struct page_info *page); static inline bool get_page_from_mfn(mfn_t mfn, struct domain *d) { -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |