/* rb_head_page_dactivate - clears head page ptr (for free list)  */
static void rb_head_page_deactivate(struct ring_buffer_per_cpu *cpu_buffer)
/* rb_head_page_dactivate - clears head page ptr (for free list)  */
static void rb_head_page_deactivate(struct ring_buffer_per_cpu *cpu_buffer)
{
	struct list_head *hd;
	rb_list_head_clear(cpu_buffer->pages);
	list_for_each(hd, cpu_buffer->pages)
		rb_list_head_clear(hd);
}