]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/hugetlb.c: use long vars instead of int in region_count()
authorWang Sheng-Hui <shhuiw@gmail.com>
Thu, 3 May 2012 05:43:30 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:21 +0000 (15:46 +1000)
commit22015782a5313ed93e658921a4218c5d531e62b6
tree39a9bc6c366510d621ed68d9b48eb11c3c01c8ef
parent419de8735e00016cd8eb8b31fcbe3e801fdb97d6
mm/hugetlb.c: use long vars instead of int in region_count()

args f & t and fields from & to of struct file_region are defined as long.
 Use long instead of int to type the temp vars.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c