qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 075cd32] x86: move a declaration to header


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 075cd32] x86: move a declaration to header
Date: Sun, 13 Sep 2009 08:35:45 -0000

From: Blue Swirl <address@hidden>

Signed-off-by: Blue Swirl <address@hidden>

diff --git a/hw/pc.c b/hw/pc.c
index 1cf47d6..bb78f0b 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 a96b168..644a97d 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];




reply via email to

[Prev in Thread] Current Thread [Next in Thread]