[PATCH 4/7] Adding pipe support

Kevin Kirspel kevin-kirspel at idexx.com
Fri Dec 9 20:26:47 UTC 2016


---
 freebsd/sys/sys/pipe.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 mode change 100644 => 100755 freebsd/sys/sys/pipe.h

diff --git a/freebsd/sys/sys/pipe.h b/freebsd/sys/sys/pipe.h
old mode 100644
new mode 100755
index 20b1092..c59ecc7
--- a/freebsd/sys/sys/pipe.h
+++ b/freebsd/sys/sys/pipe.h
@@ -54,7 +54,7 @@
 #define PIPENPAGES	(BIG_PIPE_SIZE / PAGE_SIZE + 1)
 
 /*
- * See sys_pipe.c for info on what these limits mean. 
+ * See sys_pipe.c for info on what these limits mean.
  */
 extern long	maxpipekva;
 
@@ -78,7 +78,9 @@ struct pipemapping {
 	vm_size_t	cnt;		/* number of chars in buffer */
 	vm_size_t	pos;		/* current position of transfer */
 	int		npages;		/* number of pages */
+#ifndef __rtems__
 	vm_page_t	ms[PIPENPAGES];	/* pages in source process */
+#endif /* __rtems__ */
 };
 
 /*
-- 
1.9.1



More information about the devel mailing list