Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110792
b: refs/heads/master
c: 888a794
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Dave Jones committed Oct 9, 2008
1 parent 4dc0c11 commit 9ab7b80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 847aef6ffd85787b62395b64719f8f7c5975bf1b
refs/heads/master: 888a794cacd8950ac6be701db20b62a4ab2ce90c
8 changes: 7 additions & 1 deletion trunk/drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,12 +589,18 @@ EXPORT_SYMBOL(cpufreq_gov_ondemand);

static int __init cpufreq_gov_dbs_init(void)
{
int err;

kondemand_wq = create_workqueue("kondemand");
if (!kondemand_wq) {
printk(KERN_ERR "Creation of kondemand failed\n");
return -EFAULT;
}
return cpufreq_register_governor(&cpufreq_gov_ondemand);
err = cpufreq_register_governor(&cpufreq_gov_ondemand);
if (err)
destroy_workqueue(kondemand_wq);

return err;
}

static void __exit cpufreq_gov_dbs_exit(void)
Expand Down

0 comments on commit 9ab7b80

Please sign in to comment.