Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375689
b: refs/heads/master
c: 4521adf
h: refs/heads/master
i:
  375687: e2c38ce
v: v3
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed May 12, 2013
1 parent 907f1ca commit 354e7fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c792e0fe17858105b72516f709c48fc8e4a7523
refs/heads/master: 4521adf85cd18e4652b9285846835f74418bd88f
5 changes: 0 additions & 5 deletions trunk/drivers/cpufreq/arm_big_little.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ static struct clk *clk[MAX_CLUSTERS];
static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS];
static atomic_t cluster_usage[MAX_CLUSTERS] = {ATOMIC_INIT(0), ATOMIC_INIT(0)};

static int cpu_to_cluster(int cpu)
{
return topology_physical_package_id(cpu);
}

static unsigned int bL_cpufreq_get(unsigned int cpu)
{
u32 cur_cluster = cpu_to_cluster(cpu);
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/cpufreq/arm_big_little.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ struct cpufreq_arm_bL_ops {
int (*init_opp_table)(struct device *cpu_dev);
};

static inline int cpu_to_cluster(int cpu)
{
return topology_physical_package_id(cpu);
}

int bL_cpufreq_register(struct cpufreq_arm_bL_ops *ops);
void bL_cpufreq_unregister(struct cpufreq_arm_bL_ops *ops);

Expand Down

0 comments on commit 354e7fd

Please sign in to comment.