Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102027
b: refs/heads/master
c: 5b53496
h: refs/heads/master
i:
  102025: cc0d846
  102023: 7af3ebc
v: v3
  • Loading branch information
Zhao Yakui authored and Andi Kleen committed Jul 16, 2008
1 parent b7ed2a3 commit e09f024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71b58cbb0c30d1f78636a48c4721529449d6ea37
refs/heads/master: 5b53496a5ad79e91052f72761a7c5516b069bc99
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/acpi/processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
if (cpu_has(c, X86_FEATURE_ACPI))
buf[2] |= ACPI_PDC_T_FFH;

/*
* If mwait/monitor is unsupported, C2/C3_FFH will be disabled
*/
if (!cpu_has(c, X86_FEATURE_MWAIT))
buf[2] &= ~(ACPI_PDC_C_C2C3_FFH);

obj->type = ACPI_TYPE_BUFFER;
obj->buffer.length = 12;
obj->buffer.pointer = (u8 *) buf;
Expand Down

0 comments on commit e09f024

Please sign in to comment.