]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
arm/mm: remove unused p2m_refcount in page_info
authorWei Liu <wei.liu2@citrix.com>
Thu, 23 Mar 2017 16:06:28 +0000 (16:06 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 23 Mar 2017 18:11:06 +0000 (11:11 -0700)
The code which used that field has been deleted. Found by code
inspection.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/mm.h

index 60ccbf37692e9e5a51f87ecca4b8c0cf41d2258a..48921555969c2095c6e17b6487a988eac01de1bd 100644 (file)
@@ -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 {