aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-13 08:32:39 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-13 08:32:39 +0000
commit075cd324df63aedef329f8adf7909d425c2c0a64 (patch)
tree8bc1724a2de5ab7352fcb432c15db75aa52ba3ac
parent675d6f82106a01fb2f7223c4c31bad2fa3bc3ac6 (diff)
x86: move a declaration to header
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/pc.c2
-rw-r--r--sysemu.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 1cf47d6375..bb78f0bce7 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -456,8 +456,6 @@ static void bochs_bios_write(void *opaque, uint32_t addr, uint32_t val)
}
}
-extern uint64_t node_cpumask[MAX_NODES];
-
static void *bochs_bios_init(void)
{
void *fw_cfg;
diff --git a/sysemu.h b/sysemu.h
index a96b168793..644a97d624 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -138,6 +138,7 @@ extern int boot_menu;
#define MAX_NODES 64
extern int nb_numa_nodes;
extern uint64_t node_mem[MAX_NODES];
+extern uint64_t node_cpumask[MAX_NODES];
#define MAX_OPTION_ROMS 16
extern const char *option_rom[MAX_OPTION_ROMS];