Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356655
b: refs/heads/master
c: 5a1b98d
h: refs/heads/master
i:
  356653: aa28c2a
  356651: 13e9a90
  356647: 07ad6aa
  356639: 10cd975
v: v3
  • Loading branch information
Al Viro committed Feb 3, 2013
1 parent cc522f9 commit d2b320c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ce5da17570771330f44ac993b77749debf7954b
refs/heads/master: 5a1b98d3096f1d780045f9be812335ad77aed93d
11 changes: 11 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -2305,6 +2305,17 @@ static inline int sas_ss_flags(unsigned long sp)
: on_sig_stack(sp) ? SS_ONSTACK : 0);
}

static inline unsigned long sigsp(unsigned long sp, struct ksignal *ksig)
{
if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp))
#ifdef CONFIG_STACK_GROWSUP
return current->sas_ss_sp;
#else
return current->sas_ss_sp + current->sas_ss_size;
#endif
return sp;
}

/*
* Routines for handling mm_structs
*/
Expand Down

0 comments on commit d2b320c

Please sign in to comment.