diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/rawio/files/patch-ad | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/rawio/files/patch-ad b/benchmarks/rawio/files/patch-ad new file mode 100644 index 000000000000..efb1cbc2d164 --- /dev/null +++ b/benchmarks/rawio/files/patch-ad @@ -0,0 +1,14 @@ +--- rawio.c~ Fri Mar 29 16:52:17 2002 ++++ rawio.c Fri Mar 29 16:53:49 2002 +@@ -358,7 +358,11 @@ + childinfo = mmap (NULL, + nproc * sizeof (struct childinfo), + PROT_READ | PROT_WRITE, ++#ifdef MAP_INHERIT + MAP_INHERIT | MAP_SHARED | MAP_ANON, ++#else ++ MAP_SHARED | MAP_ANON, ++#endif + -1, + 0 ); + if (childinfo == MAP_FAILED) |