summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-24 18:36:51 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-24 18:36:51 +0000
commit105bace68d7dbbe2f475e5a3c4e9c3cf751a2f7f (patch)
treea1ab7f2e241f29f2a904f2d63a08737398ce908f /src
parentdd3e82ab46987628f2a86f2af1e94adedb35647a (diff)
Some ACPI implementations don't like to see full paths within a scope for
CPU power management, so don't add the scope name Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4843 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/cpu/intel/speedstep/acpi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 5bbb52fc02..58a696113b 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -62,10 +62,9 @@ int get_fsb(void)
void generate_cpu_entries(void)
{
- int len_sc, len_pr, len_ps;
+ int len_pr, len_ps;
int coreID, cpuID, pcontrol_blk=0x510, plen=6;
msr_t msr;
- len_sc = acpigen_write_scope("\\_PR_");
int totalcores = determine_total_number_of_cores();
int cores_per_package = (cpuid_ebx(1)>>16) & 0xff;
int numcpus = totalcores/cores_per_package; // this assumes that all CPUs share the same layout
@@ -129,9 +128,7 @@ void generate_cpu_entries(void)
len_pr += len_ps;
len_pr--;
acpigen_patch_len(len_pr);
- len_sc += len_pr;
}
}
- acpigen_patch_len(len_sc-1);
}