summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch')
-rw-r--r--sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch b/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch
deleted file mode 100644
index 0c715b89406b..000000000000
--- a/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- cpufreqd-1.1.1/sys_check.c 2004-01-27 12:22:13.000000000 +0100
-+++ sys_check.c 2004-03-02 23:13:13.158613312 +0100
-@@ -40,14 +40,6 @@
- struct stat sb;
- int rc;
-
-- /* try fisrt with the 2.4 series */
-- rc = stat(CPUFREQ_PROC_INTERFACE, &sb);
-- if (rc == 0) {
-- cp_log(LOG_DEBUG, "find_cpufreq_interface(): found %s interface.\n", CPUFREQ_PROC_INTERFACE);
-- configuration->has_sysfs = 0;
-- return 0;
-- }
--
- /* try with the 2.5 series */
- rc = stat(CPUFREQ_SYSFS_INTERFACE, &sb);
- if (rc == 0) {
-@@ -56,6 +48,14 @@
- return 0;
- }
-
-+ /* try fisrt with the 2.4 series */
-+ rc = stat(CPUFREQ_PROC_INTERFACE, &sb);
-+ if (rc == 0) {
-+ cp_log(LOG_DEBUG, "find_cpufreq_interface(): found %s interface.\n", CPUFREQ_PROC_INTERFACE);
-+ configuration->has_sysfs = 0;
-+ return 0;
-+ }
-+
- cp_log(LOG_ERR, "find_cpufreq_interface(): no cpufreq interface found.\n");
- return -1;
-