Skip to content

Commit

Permalink
xen/setup: Remove Identity Map Debug Message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Rushton authored and David Vrabel committed Jul 31, 2014
1 parent e4a7431 commit 3fbdf63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/x86/xen/p2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3fbdf63

Please sign in to comment.