memory_mapping: Rework cpu related includes

This makes it more consistent with all other core code files, which
either just rely on qemu-common.h inclusion or precede cpu.h with
qemu-common.h.

cpu-all.h should not be included in addition to cpu.h. Remove it.

Backports commit 94beb661bd90bcb477eed6d3b07aced988c40163 from qemu
This commit is contained in:
Peter Crosthwaite 2018-02-14 08:16:38 -05:00 committed by Lioncash
parent 82a22d8f3a
commit 92cd41d78e
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -15,8 +15,8 @@
#include "glib_compat.h" #include "glib_compat.h"
#include "qemu-common.h"
#include "cpu.h" #include "cpu.h"
#include "exec/cpu-all.h"
#include "sysemu/memory_mapping.h" #include "sysemu/memory_mapping.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"