Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375704
b: refs/heads/master
c: b57ffac
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Rafael J. Wysocki committed May 13, 2013
1 parent 58c1e26 commit 0c072c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 60e6726c7bdec7fedae278ee3bf973ba988f2abf
refs/heads/master: b57ffac5e57bff33dde3cff35dff5c41876a6d12
3 changes: 1 addition & 2 deletions trunk/drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,10 +709,9 @@ static int __init intel_pstate_init(void)

pr_info("Intel P-state driver initializing.\n");

all_cpu_data = vmalloc(sizeof(void *) * num_possible_cpus());
all_cpu_data = vzalloc(sizeof(void *) * num_possible_cpus());
if (!all_cpu_data)
return -ENOMEM;
memset(all_cpu_data, 0, sizeof(void *) * num_possible_cpus());

rc = cpufreq_register_driver(&intel_pstate_driver);
if (rc)
Expand Down

0 comments on commit 0c072c6

Please sign in to comment.