aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r--arch/x86/xen/setup.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index e4056321b243..02ffd9e48c9f 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -92,8 +92,6 @@ static unsigned long __init xen_release_chunk(phys_addr_t start_addr,
92 if (end <= start) 92 if (end <= start)
93 return 0; 93 return 0;
94 94
95 printk(KERN_INFO "xen_release_chunk: looking at area pfn %lx-%lx: ",
96 start, end);
97 for(pfn = start; pfn < end; pfn++) { 95 for(pfn = start; pfn < end; pfn++) {
98 unsigned long mfn = pfn_to_mfn(pfn); 96 unsigned long mfn = pfn_to_mfn(pfn);
99 97
@@ -106,14 +104,14 @@ static unsigned long __init xen_release_chunk(phys_addr_t start_addr,
106 104
107 ret = HYPERVISOR_memory_op(XENMEM_decrease_reservation, 105 ret = HYPERVISOR_memory_op(XENMEM_decrease_reservation,
108 &reservation); 106 &reservation);
109 WARN(ret != 1, "Failed to release memory %lx-%lx err=%d\n", 107 WARN(ret != 1, "Failed to release pfn %lx err=%d\n", pfn, ret);
110 start, end, ret);
111 if (ret == 1) { 108 if (ret == 1) {
112 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY); 109 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY);
113 len++; 110 len++;
114 } 111 }
115 } 112 }
116 printk(KERN_CONT "%lu pages freed\n", len); 113 printk(KERN_INFO "Freeing %lx-%lx pfn range: %lu pages freed\n",
114 start, end, len);
117 115
118 return len; 116 return len;
119} 117}