Skip to content

Commit

Permalink
bitops.h: Don't include qemu-common.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ehabkost authored and Michael Tokarev committed Nov 2, 2014
1 parent a5ebc0e commit afeeead
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/qemu/bitops.h
Expand Up @@ -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
Expand Down

0 comments on commit afeeead

Please sign in to comment.