xen/arm: move setup_mm right after setup_pagetables
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 15 Feb 2013 13:32:18 +0000 (13:32 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 15 Feb 2013 13:32:18 +0000 (13:32 +0000)
commit92b31a9099c3ba4ce7910e5a2ee5f36dbb8b336e
tree2b030e853cf8a817b9635e8158f2768a9b0b43cb
parent737060331078262122953a89349098794dd630ac
xen/arm: move setup_mm right after setup_pagetables

At the moment we destroy the DTB mappings we have in setup_pagetables
and we restore them only in setup_mm.

Move setup_mm right after setup_pagetables.
This ensures we have a valid DTB mapping while running the subsequent
initialization code.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- s/atag_paddr/fdt_paddr/ ]
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/setup.c
xen/common/page_alloc.c