diff options
author | Ashutosh Dixit | 2015-09-30 03:10:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-04 13:46:06 +0200 |
commit | b7f944411b4a628443f84a542858a8c78847bb48 (patch) | |
tree | 565e482c519a044581cd0dd1c8e843f7f7e23c1a /drivers/misc/mic/scif/scif_main.h | |
parent | dma: Add support to program MIC x100 status descriptiors (diff) | |
download | kernel-qcow2-linux-b7f944411b4a628443f84a542858a8c78847bb48.tar.gz kernel-qcow2-linux-b7f944411b4a628443f84a542858a8c78847bb48.tar.xz kernel-qcow2-linux-b7f944411b4a628443f84a542858a8c78847bb48.zip |
misc: mic: SCIF poll
SCIF poll allows both user and kernel mode clients to wait on
events on a SCIF endpoint. These events include availability of
space or data in the SCIF ring buffer, availability of connection
requests on a listening endpoint and completion of connections
when using async connects.
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic/scif/scif_main.h')
-rw-r--r-- | drivers/misc/mic/scif/scif_main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mic/scif/scif_main.h b/drivers/misc/mic/scif/scif_main.h index 580bc63e1b23..87c13279a8f0 100644 --- a/drivers/misc/mic/scif/scif_main.h +++ b/drivers/misc/mic/scif/scif_main.h @@ -22,6 +22,7 @@ #include <linux/pci.h> #include <linux/miscdevice.h> #include <linux/dmaengine.h> +#include <linux/anon_inodes.h> #include <linux/file.h> #include <linux/scif.h> @@ -184,6 +185,7 @@ extern struct scif_info scif_info; extern struct idr scif_ports; extern struct scif_dev *scif_dev; extern const struct file_operations scif_fops; +extern const struct file_operations scif_anon_fops; /* Size of the RB for the Node QP */ #define SCIF_NODE_QP_SIZE 0x10000 |