xen/setup: Remove Identity Map Debug Message
authorMatt Rushton <mvrushton@gmail.com>
Sun, 20 Jul 2014 00:01:34 +0000 (17:01 -0700)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 31 Jul 2014 17:40:13 +0000 (18:40 +0100)
Removing a debug message for setting the identity map since it becomes
rather noisy after rework of the identity map code.

Signed-off-by: Matthew Rushton <mrushton@amazon.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/p2m.c

index 9bb3d82ffec8f8de8c0fb4f9db920ea260543171..3172692381aec4bb5dade9851fa7fa7715d58e46 100644 (file)
@@ -841,10 +841,9 @@ unsigned long __init set_phys_range_identity(unsigned long pfn_s,
                        pfn = ALIGN(pfn, P2M_PER_PAGE);
        }
 
-       if (!WARN((pfn - pfn_s) != (pfn_e - pfn_s),
+       WARN((pfn - pfn_s) != (pfn_e - pfn_s),
                "Identity mapping failed. We are %ld short of 1-1 mappings!\n",
-               (pfn_e - pfn_s) - (pfn - pfn_s)))
-               printk(KERN_DEBUG "1-1 mapping on %lx->%lx\n", pfn_s, pfn);
+               (pfn_e - pfn_s) - (pfn - pfn_s));
 
        return pfn - pfn_s;
 }