Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17213
b: refs/heads/master
c: 021c733
h: refs/heads/master
i:
  17211: 0ab086f
v: v3
  • Loading branch information
Arnd Bergmann authored and Paul Mackerras committed Jan 9, 2006
1 parent c1553c7 commit 02185ef
Show file tree
Hide file tree
Showing 3 changed files with 2 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: 42650d8c9060a2658a79d4e30a5790b23d7753e0
refs/heads/master: 021c73354921a315ae2fceb1ad7807d1569a5a74
1 change: 0 additions & 1 deletion trunk/arch/powerpc/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
{
int lastshift;
u16 areamask, curareas;
struct vm_area_struct *vma;

if (HPAGE_SHIFT == 0)
return -EINVAL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/imalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ static int im_region_status(unsigned long v_addr, unsigned long size,
if (v_addr < (unsigned long) tmp->addr + tmp->size)
break;

*vm = NULL;
if (tmp) {
if (im_region_overlaps(v_addr, size, tmp))
return IM_REGION_OVERLAP;
Expand All @@ -127,7 +128,6 @@ static int im_region_status(unsigned long v_addr, unsigned long size,
}
}

*vm = NULL;
return IM_REGION_UNUSED;
}

Expand Down

0 comments on commit 02185ef

Please sign in to comment.