diff options
| author | Roel Kluin <[email protected]> | 2009-03-31 15:23:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-01 08:59:13 -0700 |
| commit | e2f17d9459aeccf4e013e31cbd741d6b1858eec4 (patch) | |
| tree | 919fb245d700a04d253247e19db0b084454b20cc /include/linux | |
| parent | d1d7487173eab8352125cf6cc271940f24254bd4 (diff) | |
hugetlb: chg cannot become less than 0
chg is unsigned, so it cannot be less than 0.
Also, since region_chg returns long, let vma_needs_reservation() forward
this to alloc_huge_page(). Store it as long as well. all callers cast it
to long anyway.
Signed-off-by: Roel Kluin <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions