From: Jens Axboe Date: Wed, 4 Jun 2008 12:48:29 +0000 (+0200) Subject: Add missing splice syscall numbers for alpha and s390 X-Git-Tag: fio-1.21-rc8~12 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9a9c63f1608c6f63b10cd5575dee868c2d269c87;p=fio.git Add missing splice syscall numbers for alpha and s390 All archs now verified as compiling. Signed-off-by: Jens Axboe --- diff --git a/arch/arch-alpha.h b/arch/arch-alpha.h index 811d23a1..ef14437c 100644 --- a/arch/arch-alpha.h +++ b/arch/arch-alpha.h @@ -12,6 +12,12 @@ #define __NR_fadvise64 413 #endif +#ifndef __NR_sys_splice +#define __NR_sys_splice 468 +#define __NR_sys_tee 470 +#define __NR_sys_vmsplice 471 +#endif + #define nop do { } while (0) #define read_barrier() __asm__ __volatile__("mb": : :"memory") #define writer_barrier() __asm__ __volatile__("wmb": : :"memory") diff --git a/arch/arch-s390.h b/arch/arch-s390.h index dfb7899b..06477503 100644 --- a/arch/arch-s390.h +++ b/arch/arch-s390.h @@ -12,6 +12,12 @@ #define __NR_fadvise64 253 #endif +#ifndef __NR_sys_splice +#define __NR_sys_splice 306 +#define __NR_sys_tee 308 +#define __NR_sys_vmsplice 309 +#endif + #define nop asm volatile ("diag 0,0,68" : : : "memory") #define read_barrier() asm volatile("bcr 15,0" : : : "memory") #define write_barrier() asm volatile("bcr 15,0" : : : "memory")