hw/core/cpu: Add missing 'exec/cpu-common.h' include
commit4a795202ec7deba1b2c251af85192cc8231f9370
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 8 Sep 2020 12:34:33 +0000 (8 14:34 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 6 Oct 2020 15:09:35 +0000 (6 11:09 -0400)
tree9762f9e3f38b4b5eead34f8614128eed2211e647
parentaa1859cc77df9f547cded0b906a0c47f1760be2b
hw/core/cpu: Add missing 'exec/cpu-common.h' include

cpu_common_reset() uses tcg_flush_softmmu_tlb() which is
declared in "exec/cpu-common.h". Add the missing header
to avoid when refactoring other headers:

  hw/core/cpu.c: In function ‘cpu_common_reset’:
  hw/core/cpu.c:273:9: error: implicit declaration of function ‘tcg_flush_softmmu_tlb’ [-Werror=implicit-function-declaration]
    273 |         tcg_flush_softmmu_tlb(cpu);
        |         ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908123433.105706-1-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/cpu.c