ring_buffer: ring_buffer_empty{cpu}() can return boolean
authorYaowei Bai <bywxiaobai@163.com>
Tue, 29 Sep 2015 14:43:32 +0000 (22:43 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 2 Nov 2015 19:23:38 +0000 (14:23 -0500)
commit3d4e204d81eec30abffe55d01912e07ce81eef12
tree13418a32742d938683cbbdfa2cf5b712a773d8eb
parent06ca320952dc21c537055d2aa36a2c2e96a1b94d
ring_buffer: ring_buffer_empty{cpu}() can return boolean

Make ring_buffer_empty() and ring_buffer_empty_cpu() return bool.

No functional change.

Link: http://lkml.kernel.org/r/1443537816-5788-5-git-send-email-bywxiaobai@163.com
Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ring_buffer.h
kernel/trace/ring_buffer.c