xen/setup: Only print "Freeing XXX-YYY pfn range: Z pages freed" if Z > 0
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 19:37:07 +0000 (15:37 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 May 2012 19:30:56 +0000 (15:30 -0400)
commitca1182387e57470460294ce1e39e2d5518809811
tree569320b102e2c69a4d52e830829ff4820ebd2804
parent940713bb2ce3033f468a220094a07250a2f69bdd
xen/setup: Only print "Freeing XXX-YYY pfn range: Z pages freed" if Z > 0

Otherwise we can get these meaningless:
Freeing  bad80-badf4 pfn range: 0 pages freed

We also can do this for the summary ones - no point of printing
"Set 0 page(s) to 1-1 mapping"

Acked-by: David Vrabel <david.vrabel@citrix.com>
[v1: Extended to the summary printks]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/setup.c
This page took 0.042311 seconds and 5 git commands to generate.