mirror of https://github.com/xemu-project/xemu.git
numa: remove types from typedefs.h
Exactly nobody needs them there. Place the typedef in the header that defines the struct. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
667cdad031
commit
6b30674dad
|
@ -81,8 +81,6 @@ typedef struct MSIMessage MSIMessage;
|
|||
typedef struct NetClientState NetClientState;
|
||||
typedef struct NetFilterState NetFilterState;
|
||||
typedef struct NICInfo NICInfo;
|
||||
typedef struct NodeInfo NodeInfo;
|
||||
typedef struct NumaNodeMem NumaNodeMem;
|
||||
typedef struct Object Object;
|
||||
typedef struct ObjectClass ObjectClass;
|
||||
typedef struct PCIBridge PCIBridge;
|
||||
|
|
|
@ -36,7 +36,7 @@ enum {
|
|||
|
||||
#define UINT16_BITS 16
|
||||
|
||||
struct NodeInfo {
|
||||
typedef struct NodeInfo {
|
||||
uint64_t node_mem;
|
||||
struct HostMemoryBackend *node_memdev;
|
||||
bool present;
|
||||
|
@ -45,12 +45,12 @@ struct NodeInfo {
|
|||
uint8_t lb_info_provided;
|
||||
uint16_t initiator;
|
||||
uint8_t distance[MAX_NODES];
|
||||
};
|
||||
} NodeInfo;
|
||||
|
||||
struct NumaNodeMem {
|
||||
typedef struct NumaNodeMem {
|
||||
uint64_t node_mem;
|
||||
uint64_t node_plugged_mem;
|
||||
};
|
||||
} NumaNodeMem;
|
||||
|
||||
struct HMAT_LB_Data {
|
||||
uint8_t initiator;
|
||||
|
|
Loading…
Reference in New Issue