Add support for s390x (64 bit) and s390 (31 bit) support for system calls preadv2 and pwritev2. Signed-off-by: Thomas Richter <tmricht@xxxxxxxxxxxxxxxxxx> --- include/syscalls-s390.h | 4 ++-- include/syscalls-s390x.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/syscalls-s390.h b/include/syscalls-s390.h index 83613edf..1ca1a0fe 100644 --- a/include/syscalls-s390.h +++ b/include/syscalls-s390.h @@ -387,8 +387,8 @@ struct syscalltable syscalls_s390[] = { { .entry = &syscall_shutdown }, { .entry = &syscall_ni_syscall }, /* TODO: mlock2 svc */ { .entry = &syscall_ni_syscall }, /* TODO: copy_file_range svc */ - { .entry = &syscall_ni_syscall }, /* TODO: preadv2 svc */ - { .entry = &syscall_ni_syscall }, /* TODO: pwritev2 svc */ + { .entry = &syscall_preadv2 }, + { .entry = &syscall_pwritev2 }, { .entry = &syscall_ni_syscall }, /* TODO: s390_guarded_storage svc */ { .entry = &syscall_ni_syscall }, /* TODO: statx svc */ { .entry = &syscall_ni_syscall }, /* TODO: s390_sthyi svc */ diff --git a/include/syscalls-s390x.h b/include/syscalls-s390x.h index 333d649c..6c546e1b 100644 --- a/include/syscalls-s390x.h +++ b/include/syscalls-s390x.h @@ -387,8 +387,8 @@ struct syscalltable syscalls_s390x[] = { { .entry = &syscall_shutdown }, { .entry = &syscall_ni_syscall }, /* TODO: mlock2 svc */ { .entry = &syscall_ni_syscall }, /* TODO: copy_file_range svc */ - { .entry = &syscall_ni_syscall }, /* TODO: preadv2 svc */ - { .entry = &syscall_ni_syscall }, /* TODO: pwritev2 svc */ + { .entry = &syscall_preadv2 }, + { .entry = &syscall_pwritev2 }, { .entry = &syscall_ni_syscall }, /* TODO: s390_guarded_storage svc */ { .entry = &syscall_ni_syscall }, /* TODO: statx svc */ { .entry = &syscall_ni_syscall }, /* TODO: s390_sthyi svc */ -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html