commitf3f96f2daaadded these for the rest of the archs, but the patch it corresponded to missed riscv64 since riscv64 was not yet upstream at the time. this caused commitdfc81828f7to break riscv64 build, due to a wrong assumption that SYS_statx was unconditionally defined.