diff options
Diffstat (limited to 'sys-power/phc-intel/files/phc-intel-0.3.2-rev24-trailing-space-4.9.patch')
-rw-r--r-- | sys-power/phc-intel/files/phc-intel-0.3.2-rev24-trailing-space-4.9.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sys-power/phc-intel/files/phc-intel-0.3.2-rev24-trailing-space-4.9.patch b/sys-power/phc-intel/files/phc-intel-0.3.2-rev24-trailing-space-4.9.patch new file mode 100644 index 000000000000..08e5b7ecb848 --- /dev/null +++ b/sys-power/phc-intel/files/phc-intel-0.3.2-rev24-trailing-space-4.9.patch @@ -0,0 +1,51 @@ +--- phc-intel-pack-rev24/inc/4.9/linux-phc-0.3.2.patch ++++ phc-intel-pack-rev24/inc/4.9/linux-phc-0.3.2.patch +@@ -98,7 +98,7 @@ + static void __init acpi_cpufreq_boost_init(void) + { + if (boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA)) { +-@@ -955,6 +951,494 @@ ++@@ -955,6 +951,499 @@ + } + } + +@@ -172,6 +172,7 @@ + + vid = extract_vid_from_control(perf->states[freq_table[i].driver_data].control); + + count += sprintf(&buf[count], "%u ", vid); + + } +++ if (count) count--; + + count += sprintf(&buf[count], "\n"); + + + + return count; +@@ -200,6 +201,7 @@ + + vid = extract_vid_from_control(data->original_controls[freq_table[i].driver_data]); + + count += sprintf(&buf[count], "%u ", vid); + + } +++ if (count) count--; + + count += sprintf(&buf[count], "\n"); + + + + return count; +@@ -225,6 +227,7 @@ + + fid = extract_fid_from_control(perf->states[freq_table[i].driver_data].control); + + count += sprintf(&buf[count], "%u ", fid); + + } +++ if (count) count--; + + count += sprintf(&buf[count], "\n"); + + + + return count; +@@ -255,6 +258,7 @@ + + vid = extract_vid_from_control(perf->states[freq_table[i].driver_data].control); + + count += sprintf(&buf[count], "%u:%u ", fid, vid); + + } +++ if (count) count--; + + count += sprintf(&buf[count], "\n"); + + + + return count; +@@ -288,6 +292,7 @@ + + vid = extract_vid_from_control(data->original_controls[freq_table[i].driver_data]); + + count += sprintf(&buf[count], "%u:%u ", fid, vid); + + } +++ if (count) count--; + + count += sprintf(&buf[count], "\n"); + + + + return count; |