arm/mm: remove unused p2m_refcount in page_info
PATCH 1/1 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 <[email protected]>
---
Cc: Stefano Stabellini <[email protected]>
Cc: Julien Grall <[email protected]>
Compile test only
--- xen/include/asm-arm/mm.h | 6 ------ 1 file changed, 6 deletions(-)
xen/include/asm-arm/mm.h +0 -6
@@ -32,12 +32,6 @@ struct page_infostruct {/* 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 {
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 4 lines · Wei Liu
The code which used that field has been deleted. Found by code inspection.
Signed-off-by Wei Liu <[email protected]>
Reviewed-by Stefano Stabellini <[email protected]>
Quoted 29 lines
---
Cc: Stefano Stabellini <[email protected]>
Cc: Julien Grall <[email protected]>Compile test only
--- xen/include/asm-arm/mm.h | 6 ------ 1 file changed, 6 deletions(-)xen/include/asm-arm/mm.h +0
-6@@ -32,12 +32,6 @@ struct page_infostruct {/* 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 {Signature · 1 line
2.11.0
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel