Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190875
b: refs/heads/master
c: 16a2164
h: refs/heads/master
i:
  190873: 7a3afbe
  190871: 6cc4959
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed May 15, 2010
1 parent 8c25c18 commit d2da6b3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bfcc6e2eca507819e297a4c758ebd6b26e625330
refs/heads/master: 16a2164bb03612efe79a76c73da6da44445b9287
4 changes: 3 additions & 1 deletion trunk/kernel/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ int __ref profile_init(void)
return 0;

prof_buffer = vmalloc(buffer_bytes);
if (prof_buffer)
if (prof_buffer) {
memset(prof_buffer, 0, buffer_bytes);
return 0;
}

free_cpumask_var(prof_cpu_mask);
return -ENOMEM;
Expand Down

0 comments on commit d2da6b3

Please sign in to comment.