[Xen-devel] [PATCH] xen/arm: p2m: Add an ASSERT to check that p2m lock is taken in __p2m_lookup

2015-04-27 Thread Julien Grall
__p2m_lookup should be called with the p2m lock taken. Add an ASSERT in order to catch wrong caller in debug build. Signed-off-by: Julien Grall --- xen/arch/arm/p2m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 8dfee24..65efa94 100644 --- a/x

Re: [Xen-devel] [PATCH] xen/arm: p2m: Add an ASSERT to check that p2m lock is taken in __p2m_lookup

2015-05-05 Thread Ian Campbell
On Mon, 2015-04-27 at 15:58 +0100, Julien Grall wrote: > __p2m_lookup should be called with the p2m lock taken. Add an ASSERT in > order to catch wrong caller in debug build. > > Signed-off-by: Julien Grall Acked + applied, thanks. ___ Xen-devel mai