git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3cb6d15
)
Merge commit '559fa6e76b27' into perf/urgent
author
Ingo Molnar
<mingo@elte.hu>
Mon, 23 May 2011 14:15:43 +0000
(16:15 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 23 May 2011 14:15:58 +0000
(16:15 +0200)
Merge reason: this commit was queued up quite some time ago but was
forgotten about.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/profile.c
patch
|
blob
|
history
diff --git
a/kernel/profile.c
b/kernel/profile.c
index
66f841b
..
14c9f87
100644
(file)
--- a/
kernel/profile.c
+++ b/
kernel/profile.c
@@
-126,11
+126,9
@@
int __ref profile_init(void)
if (prof_buffer)
return 0;
- prof_buffer = vmalloc(buffer_bytes);
- if (prof_buffer) {
- memset(prof_buffer, 0, buffer_bytes);
+ prof_buffer = vzalloc(buffer_bytes);
+ if (prof_buffer)
return 0;
- }
free_cpumask_var(prof_cpu_mask);
return -ENOMEM;