|
@@ -188,14 +188,17 @@ extern int acpi_numa;
|
|
extern int acpi_get_nodes(struct bootnode *physnodes);
|
|
extern int acpi_get_nodes(struct bootnode *physnodes);
|
|
extern int acpi_scan_nodes(unsigned long start, unsigned long end);
|
|
extern int acpi_scan_nodes(unsigned long start, unsigned long end);
|
|
#define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
|
|
#define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_NUMA_EMU
|
|
extern void acpi_fake_nodes(const struct bootnode *fake_nodes,
|
|
extern void acpi_fake_nodes(const struct bootnode *fake_nodes,
|
|
int num_nodes);
|
|
int num_nodes);
|
|
|
|
+#endif
|
|
#else
|
|
#else
|
|
static inline void acpi_fake_nodes(const struct bootnode *fake_nodes,
|
|
static inline void acpi_fake_nodes(const struct bootnode *fake_nodes,
|
|
int num_nodes)
|
|
int num_nodes)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
+#endif /* CONFIG_ACPI_NUMA */
|
|
|
|
|
|
#define acpi_unlazy_tlb(x) leave_mm(x)
|
|
#define acpi_unlazy_tlb(x) leave_mm(x)
|
|
|
|
|