From: Aneesh Kumar K.V Date: Tue, 31 Jul 2012 23:42:00 +0000 (-0700) Subject: hugetlb: add an inline helper for finding hstate index X-Git-Tag: v3.6-rc1~24^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972dc4de13f667a7df27ee32573b2e6fc6cc8434;p=pandora-kernel.git hugetlb: add an inline helper for finding hstate index Add an inline helper and use it in the code. Signed-off-by: Aneesh Kumar K.V Acked-by: David Rientjes Acked-by: Michal Hocko Reviewed-by: KAMEZAWA Hiroyuki Cc: Hillf Danton Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed