]> granicus.if.org Git - strace/commitdiff
powerpc: wire up switch_endian syscall
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 15 Nov 2015 16:51:55 +0000 (16:51 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 15 Nov 2015 16:51:55 +0000 (16:51 +0000)
powerpc has switch_endian syscall starting with linux commit
v4.0-rc4-67-g529d235.

* linux/powerpc/syscallent.h (switch_endian): New entry.

linux/powerpc/syscallent.h

index f8587ab998a3d267388fa20a1216755321b16faf..2b7c02845dff0a48a2fa5f9732425475f86af891 100644 (file)
 [360] = { 2,   TD,             SEN(memfd_create),              "memfd_create",         },
 [361] = { 3,   TD,             SEN(bpf),                       "bpf",                  },
 [362] = { 5,   TD|TF|TP|SE|SI, SEN(execveat),                  "execveat",             },
-[363 ... 399] = { },
+[363] = { 0,   0,              SEN(printargs),                 "switch_endian"         },
+[364 ... 399] = { },
 
 #define SYS_socket_subcall     400
 #include "subcall.h"