Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179277
b: refs/heads/master
c: a58c26b
h: refs/heads/master
i:
  179275: d7ba397
v: v3
  • Loading branch information
Jiri Slaby authored and Martin Schwidefsky committed Jan 13, 2010
1 parent 2689bf1 commit c33c6cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 16e1a577693a470367287281765b7daad0998fc1
refs/heads/master: a58c26bba9ebe97fea99aee125728b1f3886499e
4 changes: 2 additions & 2 deletions trunk/arch/s390/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

static inline unsigned long mmap_base(void)
{
unsigned long gap = current->signal->rlim[RLIMIT_STACK].rlim_cur;
unsigned long gap = rlimit(RLIMIT_STACK);

if (gap < MIN_GAP)
gap = MIN_GAP;
Expand All @@ -61,7 +61,7 @@ static inline int mmap_is_legacy(void)
#endif
return sysctl_legacy_va_layout ||
(current->personality & ADDR_COMPAT_LAYOUT) ||
current->signal->rlim[RLIMIT_STACK].rlim_cur == RLIM_INFINITY;
rlimit(RLIMIT_STACK) == RLIM_INFINITY;
}

#ifndef CONFIG_64BIT
Expand Down

0 comments on commit c33c6cd

Please sign in to comment.