From: Wei Liu Date: Thu, 23 Mar 2017 16:06:28 +0000 (+0000) Subject: arm/mm: remove unused p2m_refcount in page_info X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2411 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=60c59f58765ae941f70212d3243e2bfadfec9906;p=xen.git arm/mm: remove unused p2m_refcount in page_info The code which used that field has been deleted. Found by code inspection. Signed-off-by: Wei Liu Reviewed-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index 60ccbf3769..4892155596 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -32,12 +32,6 @@ struct page_info struct { /* Type reference count and various PGT_xxx flags and fields. */ unsigned long type_info; - /* - * Reference count for page table used in the P2M code. - * The counter is protected by the p2m->lock of the - * associated domain. - */ - unsigned long p2m_refcount; } inuse; /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */ struct {