]> git.pld-linux.org Git - packages/iozone.git/commitdiff
- fix for ppc (from asm/fnctl.h>) iozone-3_109-2
authormarcus <marcus@pld-linux.org>
Thu, 26 Sep 2002 15:28:16 +0000 (15:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iozone-ppc.patch -> 1.1

iozone-ppc.patch [new file with mode: 0644]

diff --git a/iozone-ppc.patch b/iozone-ppc.patch
new file mode 100644 (file)
index 0000000..08b311a
--- /dev/null
@@ -0,0 +1,13 @@
+diff -uNr iozone-3.109.orig/src/current/iozone.c iozone-3.109/src/current/iozone.c
+--- iozone-3.109.orig/src/current/iozone.c     Thu Sep 26 17:11:25 2002
++++ iozone-3.109/src/current/iozone.c  Thu Sep 26 17:23:15 2002
+@@ -216,6 +216,9 @@
+   #define __USE_GNU
+ #endif
+ #include <fcntl.h>
++#if defined (linux) && defined (__powerpc__)
++#define O_DIRECT        0400000 /* direct disk access hint */
++#endif
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+ #include <malloc.h>
+ #endif
This page took 0.071153 seconds and 4 git commands to generate.