Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115866
b: refs/heads/master
c: cb8f488
h: refs/heads/master
v: v3
  • Loading branch information
Denys Vlasenko authored and Linus Torvalds committed Oct 20, 2008
1 parent 5c642f6 commit 881a891
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 51b07fc3c5c830bb49c80fc5eac041e1f66a72e7
refs/heads/master: cb8f488c33539f096580e202f5438a809195008f
8 changes: 4 additions & 4 deletions trunk/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma,
rb_insert_color(&vma->vm_rb, &mm->mm_rb);
}

static inline void __vma_link_file(struct vm_area_struct *vma)
static void __vma_link_file(struct vm_area_struct *vma)
{
struct file * file;

Expand Down Expand Up @@ -1591,7 +1591,7 @@ static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, un
* vma is the last one with address > vma->vm_end. Have to extend vma.
*/
#ifndef CONFIG_IA64
static inline
static
#endif
int expand_upwards(struct vm_area_struct *vma, unsigned long address)
{
Expand Down Expand Up @@ -1641,7 +1641,7 @@ int expand_upwards(struct vm_area_struct *vma, unsigned long address)
/*
* vma is the first one with address < vma->vm_start. Have to extend vma.
*/
static inline int expand_downwards(struct vm_area_struct *vma,
static int expand_downwards(struct vm_area_struct *vma,
unsigned long address)
{
int error;
Expand Down Expand Up @@ -1703,7 +1703,7 @@ find_extend_vma(struct mm_struct *mm, unsigned long addr)
vma = find_vma_prev(mm, addr, &prev);
if (vma && (vma->vm_start <= addr))
return vma;
if (!prev || expand_stack(prev, addr))
if (expand_stack(prev, addr))
return NULL;
if (prev->vm_flags & VM_LOCKED) {
if (mlock_vma_pages_range(prev, addr, prev->vm_end) < 0)
Expand Down

0 comments on commit 881a891

Please sign in to comment.