aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-06-14 22:57:28 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-06-15 11:37:14 -0400
commite4f2d10f479d18198ebafcb5e124cc3dd8b8817a (patch)
tree73d0797b9a4f285891284e0e39ceb328d254ed23 /kernel
parent215368e8e59023d6a0abdda896923018d74fdf7f (diff)
tracing: replace a GFP_ATOMIC with GFP_KERNEL allocation
Atomic allocation is not needed here. [ Impact: clean up of memory alloction type ] Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4A35B898.2050607@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 7355a38e18be..0f57f1b443b6 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -3627,7 +3627,7 @@ tracing_stats_read(struct file *filp, char __user *ubuf,
3627 struct trace_seq *s; 3627 struct trace_seq *s;
3628 unsigned long cnt; 3628 unsigned long cnt;
3629 3629
3630 s = kmalloc(sizeof(*s), GFP_ATOMIC); 3630 s = kmalloc(sizeof(*s), GFP_KERNEL);
3631 if (!s) 3631 if (!s)
3632 return ENOMEM; 3632 return ENOMEM;
3633 3633