mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
splice: divorce the splice structure/function definitions from the pipe header
We need to move even more stuff into the header so that folks can use the splice_to_pipe() implementation instead of open-coding a lot of pipe knowledge (see relay implementation), so move to our own header file finally. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
ebf9909343
commit
d6b29d7cee
9 changed files with 83 additions and 68 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#include <linux/vmalloc.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/cpu.h>
|
||||
#include <linux/pipe_fs_i.h>
|
||||
#include <linux/splice.h>
|
||||
|
||||
/* list of open channels, for cpu hotplug */
|
||||
static DEFINE_MUTEX(relay_channels_mutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue