/* rb_check_list - make sure a pointer to a list has the last bits zero  */
static int rb_check_list(struct ring_buffer_per_cpu *cpu_buffer, struct list_head *list)
/* rb_check_list - make sure a pointer to a list has the last bits zero  */
static int rb_check_list(struct ring_buffer_per_cpu *cpu_buffer, struct list_head *list)
{
	if (RB_WARN_ON(cpu_buffer, rb_list_head(list->prev) != list->prev))
		return 1;
	if (RB_WARN_ON(cpu_buffer, rb_list_head(list->next) != list->next))
		return 1;
	return 0;
}