}
#ifdef CONFIG_HOTPLUG_CPU
put_online_cpus();
+ unregister_hotcpu_notifier(&chanb->cpu_hp_notifier);
#endif
free_percpu(chanb->buf);
} else
+ (offset & ~PAGE_MASK),
src, pagecpy) != 0;
if (ret > 0) {
- offset += (pagecpy - ret);
- len -= (pagecpy - ret);
+ /* Copy failed. */
_lib_ring_buffer_memset(bufb, offset, 0, len, 0);
break; /* stop copy */
}