From 9a9c63f1608c6f63b10cd5575dee868c2d269c87 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 4 Jun 2008 14:48:29 +0200 Subject: [PATCH 1/1] Add missing splice syscall numbers for alpha and s390 All archs now verified as compiling. Signed-off-by: Jens Axboe --- arch/arch-alpha.h | 6 ++++++ arch/arch-s390.h | 6 ++++++ 2 files changed, 12 insertions(+) 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") -- 2.25.1