summaryrefslogtreecommitdiff
path: root/arch/arch-hppa.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-02-22 14:08:43 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-02-22 14:08:43 +0100
commit85a863194fe44f815fe8d88cfc3dde6b22009c06 (patch)
tree9fee76cb503596dac2ec4087ceddac6266231fa5 /arch/arch-hppa.h
parente72fa4d40565e7a213698d8696b81f80e4670982 (diff)
downloadfio-85a863194fe44f815fe8d88cfc3dde6b22009c06.tar.gz
PA-RISC support
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/arch-hppa.h')
-rw-r--r--arch/arch-hppa.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arch-hppa.h b/arch/arch-hppa.h
new file mode 100644
index 00000000..c865a891
--- /dev/null
+++ b/arch/arch-hppa.h
@@ -0,0 +1,26 @@
+#ifndef ARCH_HPPA_H
+#define ARCH_HPPA_H
+
+#define ARCH (arch_hppa)
+
+#ifndef __NR_ioprio_set
+#define __NR_ioprio_set 267
+#define __NR_ioprio_get 268
+#endif
+
+#ifndef __NR_fadvise64
+#define __NR_fadvise64 236
+#endif
+
+#ifndef __NR_sys_splice
+#define __NR_sys_splice 291
+#define __NR_sys_tee 293
+#define __NR_sys_vmsplice 294
+#endif
+
+#define nop do { } while (0)
+
+#define read_barrier() __asm__ __volatile__ ("" : : : "memory")
+#define write_barrier() __asm__ __volatile__ ("" : : : "memory")
+
+#endif