Workaround for build problems on arm64, s390x and sparc64

This commit is contained in:
Topi Miettinen 2017-09-01 22:04:36 +03:00
parent d2c226723a
commit 9252c4c119
No known key found for this signature in database
GPG key ID: 9587E0A2656F2D29

View file

@ -102,6 +102,9 @@ static const SyscallGroupList sysgroups[] = {
#endif
#ifdef SYS_sys_debug_setcontext
"sys_debug_setcontext,"
#endif
#if !defined(SYS_lookup_dcookie) && !defined(SYS_perf_event_open) && !defined(SYS_process_vm_writev) && !defined(SYS_rtas) && !defined(SYS_s390_runtime_instr) && !defined(SYS_sys_debug_setcontext)
"__dummy_syscall__" // workaround for arm64, s390x and sparc64 which don't have any of above defined and empty syscall lists are not allowed
#endif
},
{ .name = "@default", .list =