From 105bace68d7dbbe2f475e5a3c4e9c3cf751a2f7f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 24 Oct 2009 18:36:51 +0000 Subject: 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4843 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/intel/speedstep/acpi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/cpu/intel') 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); } -- cgit v1.2.3