Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356747
b: refs/heads/master
c: c971625
h: refs/heads/master
i:
  356745: f2c5e85
  356743: e391cbb
v: v3
  • Loading branch information
Al Viro committed Feb 3, 2013
1 parent 894ca05 commit 35f5226
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99b06feb0f7c99f171cb962d0e6a17f81625abd3
refs/heads/master: c9716252befda972c94d2bbfa88abddf3377f8c5
7 changes: 1 addition & 6 deletions trunk/arch/sparc/kernel/signal_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,13 @@ struct rt_signal_frame {
#define SF_ALIGNEDSZ (((sizeof(struct signal_frame) + 7) & (~7)))
#define RT_ALIGNEDSZ (((sizeof(struct rt_signal_frame) + 7) & (~7)))

static int _sigpause_common(old_sigset_t set)
asmlinkage int sys_sigsuspend(old_sigset_t set)
{
sigset_t blocked;
siginitset(&blocked, set);
return sigsuspend(&blocked);
}

asmlinkage int sys_sigsuspend(old_sigset_t set)
{
return _sigpause_common(set);
}

asmlinkage void do_sigreturn(struct pt_regs *regs)
{
struct signal_frame __user *sf;
Expand Down
12 changes: 1 addition & 11 deletions trunk/arch/sparc/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,23 +236,13 @@ struct rt_signal_frame {
__siginfo_rwin_t *rwin_save;
};

static long _sigpause_common(old_sigset_t set)
asmlinkage long sys_sigsuspend(old_sigset_t set)
{
sigset_t blocked;
siginitset(&blocked, set);
return sigsuspend(&blocked);
}

asmlinkage long sys_sigpause(unsigned int set)
{
return _sigpause_common(set);
}

asmlinkage long sys_sigsuspend(old_sigset_t set)
{
return _sigpause_common(set);
}

void do_rt_sigreturn(struct pt_regs *regs)
{
struct rt_signal_frame __user *sf;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sparc/kernel/systbls.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern asmlinkage long sys_rt_sigaction(int sig,

extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
extern asmlinkage long sys_sigpause(unsigned int set);
extern asmlinkage long sys_sigsuspend(old_sigset_t set);
extern void do_rt_sigreturn(struct pt_regs *regs);

Expand Down

0 comments on commit 35f5226

Please sign in to comment.