[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 02/10] bitops.h: Don't include qemu-common.h
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [RFC 02/10] bitops.h: Don't include qemu-common.h |
Date: |
Thu, 25 Sep 2014 17:18:21 -0300 |
This removes the following circular dependency:
bitops.h -> qemu-common.h -> target-i386/cpu.h -> target-i386/cpu-qom.h ->
qom/cpu.h -> qdev-core.h -> bitmap.h -> bitops.h.
Signed-off-by: Eduardo Habkost <address@hidden>
---
include/qemu/bitops.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h
index 7e2d5c9..181bd46 100644
--- a/include/qemu/bitops.h
+++ b/include/qemu/bitops.h
@@ -12,7 +12,9 @@
#ifndef BITOPS_H
#define BITOPS_H
-#include "qemu-common.h"
+#include <stdint.h>
+#include <assert.h>
+
#include "host-utils.h"
#define BITS_PER_BYTE CHAR_BIT
--
1.9.3
- [Qemu-devel] [RFC 00/10] Target-specific unit test support, add unit tests for target-i386/cpu.c code, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 01/10] tests: Add missing include to test-bitops.c, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 02/10] bitops.h: Don't include qemu-common.h,
Eduardo Habkost <=
- [Qemu-devel] [RFC 03/10] bitmap.h: Don't include qemu-common.h, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 04/10] tests: Move fake yield_until_fd_readable() to coroutine-stub.c, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 05/10] tests: Support target-specific unit tests, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 07/10] tests: Add unit test for X86CPU code, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 08/10] target-i386: Isolate enabled-by-default features to a separate array, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 06/10] tests: Make test-x86-cpuid target-specific, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 09/10] tests: test-x86-cpu: Add TCG feature bit initialization test, Eduardo Habkost, 2014/09/25
- [Qemu-devel] [RFC 10/10] tests: test-x86-cpu: Add KVM feature bit initialization test, Eduardo Habkost, 2014/09/25
- Re: [Qemu-devel] [RFC 00/10] Target-specific unit test support, add unit tests for target-i386/cpu.c code, Paolo Bonzini, 2014/09/26