|
@@ -15,13 +15,6 @@
|
|
|
|
|
|
|
|
#define HAVE_ARCH_SIGINFO_T
|
|
#define HAVE_ARCH_SIGINFO_T
|
|
|
|
|
|
|
|
-/*
|
|
|
|
|
- * We duplicate the generic versions - <asm-generic/siginfo.h> is just borked
|
|
|
|
|
- * by design ...
|
|
|
|
|
- */
|
|
|
|
|
-#define HAVE_ARCH_COPY_SIGINFO
|
|
|
|
|
-struct siginfo;
|
|
|
|
|
-
|
|
|
|
|
/*
|
|
/*
|
|
|
* Careful to keep union _sifields from shifting ...
|
|
* Careful to keep union _sifields from shifting ...
|
|
|
*/
|
|
*/
|
|
@@ -35,8 +28,9 @@ struct siginfo;
|
|
|
|
|
|
|
|
#define __ARCH_SIGSYS
|
|
#define __ARCH_SIGSYS
|
|
|
|
|
|
|
|
-#include <asm-generic/siginfo.h>
|
|
|
|
|
|
|
+#include <uapi/asm-generic/siginfo.h>
|
|
|
|
|
|
|
|
|
|
+/* We can't use generic siginfo_t, because our si_code and si_errno are swapped */
|
|
|
typedef struct siginfo {
|
|
typedef struct siginfo {
|
|
|
int si_signo;
|
|
int si_signo;
|
|
|
int si_code;
|
|
int si_code;
|
|
@@ -124,5 +118,6 @@ typedef struct siginfo {
|
|
|
#define SI_TIMER __SI_CODE(__SI_TIMER, -3) /* sent by timer expiration */
|
|
#define SI_TIMER __SI_CODE(__SI_TIMER, -3) /* sent by timer expiration */
|
|
|
#define SI_MESGQ __SI_CODE(__SI_MESGQ, -4) /* sent by real time mesq state change */
|
|
#define SI_MESGQ __SI_CODE(__SI_MESGQ, -4) /* sent by real time mesq state change */
|
|
|
|
|
|
|
|
|
|
+#include <asm-generic/siginfo.h>
|
|
|
|
|
|
|
|
#endif /* _UAPI_ASM_SIGINFO_H */
|
|
#endif /* _UAPI_ASM_SIGINFO_H */
|