Skip to content
This repository has been archived by the owner on Aug 8, 2021. It is now read-only.

Commit

Permalink
cpufreq: Fix build with stats disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Lin <[email protected]>
  • Loading branch information
kdrag0n committed Dec 6, 2020
1 parent 1e12864 commit 21e76d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/cpufreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,6 @@ int cpufreq_boost_supported(void);
int cpufreq_boost_enabled(void);
int cpufreq_enable_boost_support(void);
bool policy_has_boost_freq(struct cpufreq_policy *policy);
void acct_update_power(struct task_struct *p, cputime_t cputime);
void cpufreq_task_stats_init(struct task_struct *p);
#else
static inline int cpufreq_boost_trigger_state(int state)
{
Expand Down

0 comments on commit 21e76d0

Please sign in to comment.