diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-02-19 14:21:06 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-27 01:41:04 +0400 |
commit | cbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a (patch) | |
tree | 039f9c8fc4cab6e8894e1158fc6bf8a4251077e2 /include/linux/acpi.h | |
parent | 4cf19463745fad81ef2eed3e4e0038da5fd153f8 (diff) | |
download | linux-cbf9bd603ab1fc4d2ecb1c6a4b7bd1cc50a7e82a.tar.xz |
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.h | 5 |
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; |