From 0cb245a76cec91b88a685d509c904e3e49b735bc Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 20 Feb 2016 00:37:01 +0000 Subject: [PATCH] mips: wire up copy_file_range syscall * linux/mips/syscallent-n32.h [6324]: Add copy_file_range entry. * linux/mips/syscallent-n64.h [5320]: Likewise. * linux/mips/syscallent-o32.h [4360]: Likewise. --- linux/mips/syscallent-n32.h | 3 ++- linux/mips/syscallent-n64.h | 3 ++- linux/mips/syscallent-o32.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 81028f61..57d9fb18 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -324,7 +324,8 @@ [6321] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, [6322] = { 2, 0, SEN(membarrier), "membarrier", }, [6323] = { 3, TM, SEN(mlock2), "mlock2" }, -[6324 ... 6399] = { }, +[6324] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[6325 ... 6399] = { }, # define SYS_socket_subcall 6400 # include "subcall.h" diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 3d3dc70d..170b6eee 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -320,7 +320,8 @@ [5317] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, [5318] = { 2, 0, SEN(membarrier), "membarrier", }, [5319] = { 3, TM, SEN(mlock2), "mlock2" }, -[5320 ... 5399] = { }, +[5320] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[5321 ... 5399] = { }, # define SYS_socket_subcall 5400 # include "subcall.h" diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 18ddc19b..7a75abd1 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -360,7 +360,8 @@ [4357] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, [4358] = { 2, 0, SEN(membarrier), "membarrier", }, [4359] = { 3, TM, SEN(mlock2), "mlock2" }, -[4360 ... 4399] = { }, +[4360] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[4361 ... 4399] = { }, # define SYS_socket_subcall 4400 # include "subcall.h" -- 2.40.0