aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-21 14:14:33 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-01-19 10:18:28 +0100
commitdf4bbc9dcb09d9e3a385ca1a2a23daad0819f531 (patch)
tree22ac79c0379b034b8adbe98e712fecac8c165ce7
parentaf7f8eb591b45e9a950f2622b96640ff1f2a6794 (diff)
downloadqemu-df4bbc9dcb09d9e3a385ca1a2a23daad0819f531.zip
qemu-df4bbc9dcb09d9e3a385ca1a2a23daad0819f531.tar.gz
qemu-df4bbc9dcb09d9e3a385ca1a2a23daad0819f531.tar.bz2
coroutine: Clean up superfluous inclusion of qemu/lockable.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20221221131435.3851212-4-armbru@redhat.com>
-rw-r--r--block/progress_meter.c2
-rw-r--r--include/qemu/progress_meter.h2
-rw-r--r--tests/unit/test-coroutine.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/block/progress_meter.c b/block/progress_meter.c
index aa2e602..31a170a 100644
--- a/block/progress_meter.c
+++ b/block/progress_meter.c
@@ -23,7 +23,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
#include "qemu/osdep.h"
+#include "qemu/coroutine.h"
#include "qemu/progress_meter.h"
void progress_init(ProgressMeter *pm)
diff --git a/include/qemu/progress_meter.h b/include/qemu/progress_meter.h
index dadf822..0f2c0a3 100644
--- a/include/qemu/progress_meter.h
+++ b/include/qemu/progress_meter.h
@@ -27,7 +27,7 @@
#ifndef QEMU_PROGRESS_METER_H
#define QEMU_PROGRESS_METER_H
-#include "qemu/lockable.h"
+#include "qemu/thread.h"
typedef struct ProgressMeter {
/**
diff --git a/tests/unit/test-coroutine.c b/tests/unit/test-coroutine.c
index 513800d..b0d21d6 100644
--- a/tests/unit/test-coroutine.c
+++ b/tests/unit/test-coroutine.c
@@ -13,7 +13,6 @@
#include "qemu/osdep.h"
#include "qemu/coroutine_int.h"
-#include "qemu/lockable.h"
/*
* Check that qemu_in_coroutine() works