]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - mm/hugetlb.c
mm/hugetlb.c: use long vars instead of int in region_count()
authorWang Sheng-Hui <shhuiw@gmail.com>
Tue, 29 May 2012 22:06:17 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:18 +0000 (16:22 -0700)
commitf2135a4a57a798ca8014a138afb626b96d90c842
tree790d8989fa579f12afa0a3d1480a38252afa04d4
parent89c522c78a6fbc0e24b71e65b65df8b247d5aebd
mm/hugetlb.c: use long vars instead of int in region_count()

The arguments f & t and fields from & to of struct file_region are
defined as long.  So 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c