projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ebc0e
)
bitops.h: Don't include qemu-common.h
author
Eduardo Habkost
<ehabkost@redhat.com>
Fri, 26 Sep 2014 19:46:03 +0000
(16:46 -0300)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Sun, 2 Nov 2014 07:04:34 +0000
(10:04 +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 <ehabkost@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/qemu/bitops.h
patch
|
blob
|
history
diff --git
a/include/qemu/bitops.h
b/include/qemu/bitops.h
index 7e2d5c996edbeeff8bcf2ad071cc72d8860b86fc..181bd460630d89504519db749354fdc326008b79 100644
(file)
--- 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