Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141872
b: refs/heads/master
c: fb318cb
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Mar 27, 2009
1 parent 3f64fb0 commit 3482b38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14eecfc1195a9d16999157591ffce23acd6df8c1
refs/heads/master: fb318cbff40964999f303d50bcf541dd9ead6780
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/cpu/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static void longhaul_setstate(unsigned int table_index)
outb(3, 0x22);
} else if ((pr != NULL) && pr->flags.bm_control) {
/* Disable bus master arbitration */
acpi_set_register(ACPI_BITREG_ARB_DISABLE, 1);
acpi_write_bit_register(ACPI_BITREG_ARB_DISABLE, 1);
}
switch (longhaul_version) {

Expand All @@ -326,7 +326,7 @@ static void longhaul_setstate(unsigned int table_index)
case TYPE_POWERSAVER:
if (longhaul_flags & USE_ACPI_C3) {
/* Don't allow wakeup */
acpi_set_register(ACPI_BITREG_BUS_MASTER_RLD, 0);
acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_RLD, 0);
do_powersaver(cx->address, clock_ratio_index, dir);
} else {
do_powersaver(0, clock_ratio_index, dir);
Expand All @@ -339,7 +339,7 @@ static void longhaul_setstate(unsigned int table_index)
outb(0, 0x22);
} else if ((pr != NULL) && pr->flags.bm_control) {
/* Enable bus master arbitration */
acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0);
acpi_write_bit_register(ACPI_BITREG_ARB_DISABLE, 0);
}
outb(pic2_mask,0xA1); /* restore mask */
outb(pic1_mask,0x21);
Expand Down

0 comments on commit 3482b38

Please sign in to comment.