[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 18/25] exec/ramblock: Add missing includes
|
From: |
Thomas Huth |
|
Subject: |
[PULL 18/25] exec/ramblock: Add missing includes |
|
Date: |
Mon, 21 Feb 2022 13:00:01 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
"exec/ramblock.h" requires "qemu/rcu.h" for the definition of
rcu_head, and "exec/ramlist.h" for the definition of RAMBlockNotifier.
Add them to avoid when when refactoring include/:
include/exec/ramblock.h:26:21: error: field has incomplete type 'struct
rcu_head'
struct rcu_head rcu;
^
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220207082756.82600-6-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
include/exec/ramblock.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/exec/ramblock.h b/include/exec/ramblock.h
index 664701b759..6cbedf9e0c 100644
--- a/include/exec/ramblock.h
+++ b/include/exec/ramblock.h
@@ -21,6 +21,8 @@
#ifndef CONFIG_USER_ONLY
#include "cpu-common.h"
+#include "qemu/rcu.h"
+#include "exec/ramlist.h"
struct RAMBlock {
struct rcu_head rcu;
--
2.27.0
- [PULL 10/25] tests/qtest: failover: check migration with failover off, (continued)
- [PULL 10/25] tests/qtest: failover: check migration with failover off, Thomas Huth, 2022/02/21
- [PULL 09/25] tests/qtest: failover: check missing guest feature, Thomas Huth, 2022/02/21
- [PULL 13/25] scripts: Remove the old switch-timer-api script, Thomas Huth, 2022/02/21
- [PULL 19/25] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include, Thomas Huth, 2022/02/21
- [PULL 16/25] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header, Thomas Huth, 2022/02/21
- [PULL 17/25] qtest: Add missing 'hw/qdev-core.h' include, Thomas Huth, 2022/02/21
- [PULL 15/25] hw/remote: Add missing include, Thomas Huth, 2022/02/21
- [PULL 21/25] linux-user: Add missing "qemu/timer.h" include, Thomas Huth, 2022/02/21
- [PULL 22/25] softmmu/runstate: Clean headers, Thomas Huth, 2022/02/21
- [PULL 24/25] hw/m68k/mcf: Add missing 'exec/hwaddr.h' header, Thomas Huth, 2022/02/21
- [PULL 18/25] exec/ramblock: Add missing includes,
Thomas Huth <=
- [PULL 20/25] target: Add missing "qemu/timer.h" include, Thomas Huth, 2022/02/21
- [PULL 23/25] exec/exec-all: Move 'qemu/log.h' include in units requiring it, Thomas Huth, 2022/02/21
- [PULL 25/25] hw/tricore: Remove unused and incorrect header, Thomas Huth, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Philippe Mathieu-Daudé, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Peter Maydell, 2022/02/22