Răsfoiți Sursa

KVM: s390/mm: remove outdated gmap data structures

The radix tree rework removed all code that uses the gmap_rmap
and gmap_pgtable data structures. Remove these outdated definitions.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Martin Schwidefsky 11 ani în urmă
părinte
comite
f079e95214
1 a modificat fișierele cu 0 adăugiri și 23 ștergeri
  1. 0 23
      arch/s390/include/asm/pgtable.h

+ 0 - 23
arch/s390/include/asm/pgtable.h

@@ -813,29 +813,6 @@ struct gmap {
 	bool pfault_enabled;
 	bool pfault_enabled;
 };
 };
 
 
-/**
- * struct gmap_rmap - reverse mapping for segment table entries
- * @gmap: pointer to the gmap_struct
- * @entry: pointer to a segment table entry
- * @vmaddr: virtual address in the guest address space
- */
-struct gmap_rmap {
-	struct list_head list;
-	struct gmap *gmap;
-	unsigned long *entry;
-	unsigned long vmaddr;
-};
-
-/**
- * struct gmap_pgtable - gmap information attached to a page table
- * @vmaddr: address of the 1MB segment in the process virtual memory
- * @mapper: list of segment table entries mapping a page table
- */
-struct gmap_pgtable {
-	unsigned long vmaddr;
-	struct list_head mapper;
-};
-
 /**
 /**
  * struct gmap_notifier - notify function block for page invalidation
  * struct gmap_notifier - notify function block for page invalidation
  * @notifier_call: address of callback function
  * @notifier_call: address of callback function