mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
get rid of ptrace_signal_deliver() arguments
the first one is equal to signal_pt_regs(), the second is never used (and always NULL, while we are at it). Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
22062a9630
commit
b7f9591c44
4 changed files with 5 additions and 5 deletions
|
|
@ -87,8 +87,7 @@ static inline int sigfindinword(unsigned long word)
|
|||
#endif /* !CONFIG_CPU_HAS_NO_BITFIELDS */
|
||||
|
||||
#ifndef __uClinux__
|
||||
struct pt_regs;
|
||||
extern void ptrace_signal_deliver(struct pt_regs *regs, void *cookie);
|
||||
extern void ptrace_signal_deliver(void);
|
||||
#define ptrace_signal_deliver ptrace_signal_deliver
|
||||
#endif /* __uClinux__ */
|
||||
|
||||
|
|
|
|||
|
|
@ -108,8 +108,9 @@ int handle_kernel_fault(struct pt_regs *regs)
|
|||
return 1;
|
||||
}
|
||||
|
||||
void ptrace_signal_deliver(struct pt_regs *regs, void *cookie)
|
||||
void ptrace_signal_deliver(void)
|
||||
{
|
||||
struct pt_regs *regs = signal_pt_regs();
|
||||
if (regs->orig_d0 < 0)
|
||||
return;
|
||||
switch (regs->d0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue