fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64
[musl] / arch / mips / ksigaction.h
index 6d73164..485abf7 100644 (file)
@@ -1,9 +1,10 @@
+#include <features.h>
+
 struct k_sigaction {
        unsigned flags;
        void (*handler)(int);
        unsigned long mask[4];
-       /* The following field is past the end of the structure the
-        * kernel will read or write, and exists only to avoid having
-        * mips-specific preprocessor conditionals in sigaction.c. */
-       void (*restorer)();
+       void *unused;
 };
+
+hidden void __restore(), __restore_rt();