lkml.org 
[lkml]   [2014]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] xen/setup: Remove Identity Map Debug Message
On 20/07/14 01:01, Matt Rushton wrote:
> Removing a debug message for setting the identity map since it becomes
> rather noisy after rework of the identity map code.

Reviewed-by: David Vrabel <david.vrabel@citrix.com>

David

> --- a/arch/x86/xen/p2m.c
> +++ b/arch/x86/xen/p2m.c
> @@ -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;
> }
>



\
 
 \ /
  Last update: 2014-07-28 20:01    [W:0.065 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site