xen/arm32: mm: Rework is_xen_heap_page to avoid nameclash
authorJulien Grall <julien.grall@linaro.org>
Wed, 1 Nov 2017 14:03:14 +0000 (14:03 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 11 Dec 2017 23:18:08 +0000 (15:18 -0800)
commitc6c2fc6e4919a1420096b94a4ba8682f20e92709
treea87466aa8c4bd1fae861e285845786299df804c1
parent4da2ec1b1584975012ceda49160bd2f276076d5d
xen/arm32: mm: Rework is_xen_heap_page to avoid nameclash

The arm32 version of the function is_xen_heap_page currently define a
variable _mfn. This will lead to a compiler when use typesafe MFN in a
follow-up patch:

called object '_mfn' is not a function or function pointer

Fix it by renaming the local variable _mfn to mfn_.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/mm.h