diff options
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/ptrace.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/mips/include/uapi/asm/signal.h | 6 |
3 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h index cec5e125f7e4..a3186f2bb8a0 100644 --- a/arch/mips/include/asm/ptrace.h +++ b/arch/mips/include/asm/ptrace.h | |||
@@ -49,6 +49,7 @@ static inline long regs_return_value(struct pt_regs *regs) | |||
49 | 49 | ||
50 | #define instruction_pointer(regs) ((regs)->cp0_epc) | 50 | #define instruction_pointer(regs) ((regs)->cp0_epc) |
51 | #define profile_pc(regs) instruction_pointer(regs) | 51 | #define profile_pc(regs) instruction_pointer(regs) |
52 | #define user_stack_pointer(r) ((r)->regs[29]) | ||
52 | 53 | ||
53 | extern asmlinkage void syscall_trace_enter(struct pt_regs *regs); | 54 | extern asmlinkage void syscall_trace_enter(struct pt_regs *regs); |
54 | extern asmlinkage void syscall_trace_leave(struct pt_regs *regs); | 55 | extern asmlinkage void syscall_trace_leave(struct pt_regs *regs); |
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index b306e2081cad..9e47cc11aa26 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #define __ARCH_OMIT_COMPAT_SYS_GETDENTS64 | 20 | #define __ARCH_OMIT_COMPAT_SYS_GETDENTS64 |
21 | #define __ARCH_WANT_OLD_READDIR | 21 | #define __ARCH_WANT_OLD_READDIR |
22 | #define __ARCH_WANT_SYS_ALARM | 22 | #define __ARCH_WANT_SYS_ALARM |
23 | #define __ARCH_WANT_SYS_EXECVE | ||
24 | #define __ARCH_WANT_SYS_GETHOSTNAME | 23 | #define __ARCH_WANT_SYS_GETHOSTNAME |
25 | #define __ARCH_WANT_SYS_IPC | 24 | #define __ARCH_WANT_SYS_IPC |
26 | #define __ARCH_WANT_SYS_PAUSE | 25 | #define __ARCH_WANT_SYS_PAUSE |
diff --git a/arch/mips/include/uapi/asm/signal.h b/arch/mips/include/uapi/asm/signal.h index 3f1237c6c80e..770732cb8d03 100644 --- a/arch/mips/include/uapi/asm/signal.h +++ b/arch/mips/include/uapi/asm/signal.h | |||
@@ -86,12 +86,6 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */ | |||
86 | 86 | ||
87 | #define SA_RESTORER 0x04000000 /* Only for o32 */ | 87 | #define SA_RESTORER 0x04000000 /* Only for o32 */ |
88 | 88 | ||
89 | /* | ||
90 | * sigaltstack controls | ||
91 | */ | ||
92 | #define SS_ONSTACK 1 | ||
93 | #define SS_DISABLE 2 | ||
94 | |||
95 | #define MINSIGSTKSZ 2048 | 89 | #define MINSIGSTKSZ 2048 |
96 | #define SIGSTKSZ 8192 | 90 | #define SIGSTKSZ 8192 |
97 | 91 | ||