x86-xen-simplify-xen_oldmem_pfn_is_ram.patch removed from -mm tree
The patch titled
Subject: x86/xen: simplify xen_oldmem_pfn_is_ram()
has been removed from the -mm tree. Its filename was
x86-xen-simplify-xen_oldmem_pfn_is_ram.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: David Hildenbrand <[email protected]>
Subject: x86/xen: simplify xen_oldmem_pfn_is_ram()
Let's simplify return handling.
Signed-off-by David Hildenbrand <[email protected]>
Cc Baoquan He <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Boris Ostrovsky <[email protected]>
Cc Dave Young <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jason Wang <[email protected]>
Cc Juergen Gross <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vivek Goyal <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/x86/xen/mmu_hvm.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)
arch/x86/xen/mmu_hvm.c renamed from arch/x86/xen/mmu_hvm.c~x86-xen-simplify-xen_oldmem_pfn_is_ram +1 -14
@@ -21,23 +21,10 @@ static int xen_oldmem_pfn_is_ram(unsigne .domid = DOMID_SELF, .pfn = pfn, }; -int ram;if (HYPERVISOR_hvm_op (HVMOP_get_mem_type, &a))return -ENXIO ; - -switch (a.mem_type) { -case HVMMEM_mmio_dm: - ram =0 ; -break ; -case HVMMEM_ram_rw: -case HVMMEM_ram_ro: -default : - ram =1 ; -break ; - } - -return ram; +return a.mem_type != HVMMEM_mmio_dm; }#endif
_
Patches currently in -mm which might be from [email protected] are