File tree Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -2549,31 +2549,6 @@ EXPORT_SYMBOL_GPL(cpufreq_unregister_governor);
2549
2549
* POLICY INTERFACE *
2550
2550
*********************************************************************/
2551
2551
2552
- /**
2553
- * cpufreq_get_policy - get the current cpufreq_policy
2554
- * @policy: struct cpufreq_policy into which the current cpufreq_policy
2555
- * is written
2556
- * @cpu: CPU to find the policy for
2557
- *
2558
- * Reads the current cpufreq policy.
2559
- */
2560
- int cpufreq_get_policy (struct cpufreq_policy * policy , unsigned int cpu )
2561
- {
2562
- struct cpufreq_policy * cpu_policy __free (put_cpufreq_policy );
2563
-
2564
- if (!policy )
2565
- return - EINVAL ;
2566
-
2567
- cpu_policy = cpufreq_cpu_get (cpu );
2568
- if (!cpu_policy )
2569
- return - EINVAL ;
2570
-
2571
- memcpy (policy , cpu_policy , sizeof (* policy ));
2572
-
2573
- return 0 ;
2574
- }
2575
- EXPORT_SYMBOL (cpufreq_get_policy );
2576
-
2577
2552
DEFINE_PER_CPU (unsigned long, cpufreq_pressure );
2578
2553
2579
2554
/**
Original file line number Diff line number Diff line change @@ -241,7 +241,6 @@ void disable_cpufreq(void);
241
241
242
242
u64 get_cpu_idle_time (unsigned int cpu , u64 * wall , int io_busy );
243
243
244
- int cpufreq_get_policy (struct cpufreq_policy * policy , unsigned int cpu );
245
244
void refresh_frequency_limits (struct cpufreq_policy * policy );
246
245
void cpufreq_update_policy (unsigned int cpu );
247
246
void cpufreq_update_limits (unsigned int cpu );
You can’t perform that action at this time.
0 commit comments