summaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorYinghai Lu2008-02-19 12:21:06 +0100
committerIngo Molnar2008-04-26 23:41:04 +0200
commitcbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a (patch)
tree039f9c8fc4cab6e8894e1158fc6bf8a4251077e2 /include/linux/acpi.h
parentx86_64: don't need set default res if only have one root bus (diff)
downloadkernel-qcow2-linux-cbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a.tar.gz
kernel-qcow2-linux-cbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a.tar.xz
kernel-qcow2-linux-cbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a.zip
acpi: get boot_cpu_id as early for k8_scan_nodes
[mingo@elte.hu: split from "x86_64: get boot_cpu_id as early for k8_scan_nodes] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 2c7e003356ac..41f7ce7edd7a 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -79,6 +79,7 @@ typedef int (*acpi_table_handler) (struct acpi_table_header *table);
typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
+int early_acpi_boot_init(void);
int acpi_boot_init (void);
int acpi_boot_table_init (void);
int acpi_numa_init (void);
@@ -235,6 +236,10 @@ int acpi_check_mem_region(resource_size_t start, resource_size_t n,
#else /* CONFIG_ACPI */
+static inline int early_acpi_boot_init(void)
+{
+ return 0;
+}
static inline int acpi_boot_init(void)
{
return 0;