xen/arm: mm: Clean-up the includes and order them
authorJulien Grall <jgrall@amazon.com>
Sat, 11 Jun 2022 11:21:09 +0000 (12:21 +0100)
committerJulien Grall <julien@xen.org>
Sat, 11 Jun 2022 11:29:06 +0000 (12:29 +0100)
commit53098ba58101f64b61c314ab8c5c95db798563e7
treee2157b696e649a9afd5f12a64a774a85677d0c21
parent4f17357b52f6ea9e76ff2375a6c61e8f43f65723
xen/arm: mm: Clean-up the includes and order them

The numbers of includes in mm.c has been growing quite a lot. However
some of them (e.g. xen/device_tree.h, xen/softirq.h) doesn't look
to be directly used by the file or other will be included by
larger headers (e.g asm/flushtlb.h will be included by xen/mm.h).

So trim down the number of includes. Take the opportunity to order
them with the xen headers first, then asm headers and last public
headers.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c