KVM: s390/mm: remove outdated gmap data structures
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Aug 2014 13:03:33 +0000 (15:03 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 26 Aug 2014 08:09:03 +0000 (10:09 +0200)
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>
arch/s390/include/asm/pgtable.h

index 7705180e906d95defb774b880e09ece0be029d15..0242588ded678b8f0e196579d5799c8a1415e9e4 100644 (file)
@@ -813,29 +813,6 @@ struct gmap {
        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
  * @notifier_call: address of callback function