aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/cstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/acpi/cstate.c')
-rw-r--r--arch/x86/kernel/acpi/cstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c
index 8233a630280f..dde437f5d14f 100644
--- a/arch/x86/kernel/acpi/cstate.c
+++ b/arch/x86/kernel/acpi/cstate.c
@@ -167,7 +167,8 @@ static int __init ffh_cstate_init(void)
167{ 167{
168 struct cpuinfo_x86 *c = &boot_cpu_data; 168 struct cpuinfo_x86 *c = &boot_cpu_data;
169 169
170 if (c->x86_vendor != X86_VENDOR_INTEL) 170 if (c->x86_vendor != X86_VENDOR_INTEL &&
171 c->x86_vendor != X86_VENDOR_AMD)
171 return -1; 172 return -1;
172 173
173 cpu_cstate_entry = alloc_percpu(struct cstate_entry); 174 cpu_cstate_entry = alloc_percpu(struct cstate_entry);