From: Martin Schwidefsky Date: Fri, 1 Aug 2014 13:03:33 +0000 (+0200) Subject: KVM: s390/mm: remove outdated gmap data structures X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f079e9521464aa522d56af2a58a1666ca126bf6f;p=linux-beck.git 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 Signed-off-by: Christian Borntraeger --- diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h index 7705180e906d..0242588ded67 100644 --- a/arch/s390/include/asm/pgtable.h +++ b/arch/s390/include/asm/pgtable.h @@ -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