Re: [Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Andrew Cooper
On 26/05/15 10:58, Jan Beulich wrote: On 26.05.15 at 09:34, wrote: >> 'gfn' is not defined in p2m_get_mem_access() and this code compiles only >> because of a coincidence: gfn_lock/gfn_unlock are currently macros which >> don't use their second argument. >> >> Signed-off-by: Vitaly Kuznetsov

Re: [Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Jan Beulich
>>> On 26.05.15 at 09:34, wrote: > 'gfn' is not defined in p2m_get_mem_access() and this code compiles only > because of a coincidence: gfn_lock/gfn_unlock are currently macros which > don't use their second argument. > > Signed-off-by: Vitaly Kuznetsov > --- > xen/arch/x86/mm/p2m.c | 4 ++-- >

[Xen-devel] [PATCH] x86/mm: use existing 'pfn' in p2m_get_mem_access

2015-05-26 Thread Vitaly Kuznetsov
'gfn' is not defined in p2m_get_mem_access() and this code compiles only because of a coincidence: gfn_lock/gfn_unlock are currently macros which don't use their second argument. Signed-off-by: Vitaly Kuznetsov --- xen/arch/x86/mm/p2m.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)