diff options
author | Alex Chiang <achiang@hp.com> | 2009-12-20 12:19:14 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-22 03:24:10 -0500 |
commit | 1d9cb470a755409ce97c3376174b1e234bd20371 (patch) | |
tree | cc0f35e02fed9b833be7bafda72b4980c4667ec9 /arch/ia64 | |
parent | 78f1699659963fff97975df44db6d5dbe7218e55 (diff) | |
download | linux-1d9cb470a755409ce97c3376174b1e234bd20371.tar.gz linux-1d9cb470a755409ce97c3376174b1e234bd20371.tar.xz |
ACPI: processor: introduce arch_has_acpi_pdc
arch dependent helper function that tells us if we should attempt to
evaluate _PDC on this machine or not.
The x86 implementation assumes that the CPUs in the machine must be
homogeneous, and that you cannot mix CPUs of different vendors.
Cc: Tony Luck <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/acpi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/acpi.h b/arch/ia64/include/asm/acpi.h index 91df9686a0da..3b7888294648 100644 --- a/arch/ia64/include/asm/acpi.h +++ b/arch/ia64/include/asm/acpi.h @@ -132,6 +132,8 @@ extern int __devinitdata pxm_to_nid_map[MAX_PXM_DOMAINS]; extern int __initdata nid_to_pxm_map[MAX_NUMNODES]; #endif +static inline bool arch_has_acpi_pdc(void) { return true; } + #define acpi_unlazy_tlb(x) #ifdef CONFIG_ACPI_NUMA |