mips: switch to generic sigaltstack
[deliverable/linux.git] / arch / mips / include / asm / compat.h
index 3c5d1464b7bde4d93f5d4345fbedd31ccda7e47a..ebaae9649f8a11814df408332ed35f5a50a327c8 100644 (file)
@@ -288,6 +288,14 @@ struct compat_shmid64_ds {
        compat_ulong_t  __unused2;
 };
 
+/* MIPS has unusual order of fields in stack_t */
+typedef struct compat_sigaltstack {
+       compat_uptr_t                   ss_sp;
+       compat_size_t                   ss_size;
+       int                             ss_flags;
+} compat_stack_t;
+#define compat_sigaltstack compat_sigaltstack
+
 static inline int is_compat_task(void)
 {
        return test_thread_flag(TIF_32BIT_ADDR);
This page took 0.027928 seconds and 5 git commands to generate.