1 #ifndef _ASM_X86_ACPI_H
2 #define _ASM_X86_ACPI_H
10 #include <asm/processor.h>
13 * Check if the CPU can handle C2 and deeper
15 static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
18 * Early models (<=5) of AMD Opterons are not supposed to go into
21 * Steppings 0x0A and later are good
23 if (boot_cpu_data.x86 == 0x0F &&
24 boot_cpu_data.x86_vendor == X86_VENDOR_AMD &&
25 boot_cpu_data.x86_model <= 0x05 &&
26 boot_cpu_data.x86_mask < 0x0A)