trace: Replace hardcoding of 19 with MAX_NICE
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Mon, 24 Feb 2014 14:12:01 +0000 (22:12 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Feb 2014 11:41:03 +0000 (12:41 +0100)
commit2b3942e4bb20ef8ef26515bd958c2df83d9a6210
tree8da8b928fb6d2c4575db8cb972cd46ff12052a37
parent37e117c07b89194aae7062bc63bde1104c03db02
trace: Replace hardcoding of 19 with MAX_NICE

Use MAX_NICE instead of the value 19 for ring_buffer_benchmark.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1393251121-25534-1-git-send-email-yangds.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/trace/ring_buffer_benchmark.c