summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2012-08-01 01:42:00 +0200
committerLinus Torvalds2012-08-01 03:42:40 +0200
commit972dc4de13f667a7df27ee32573b2e6fc6cc8434 (patch)
tree0d3ea1381b81700d17307fc6996a67bbabb7fac2 /mm/memory.c
parenthugetlb: don't use ERR_PTR with VM_FAULT* values (diff)
downloadkernel-qcow2-linux-972dc4de13f667a7df27ee32573b2e6fc6cc8434.tar.gz
kernel-qcow2-linux-972dc4de13f667a7df27ee32573b2e6fc6cc8434.tar.xz
kernel-qcow2-linux-972dc4de13f667a7df27ee32573b2e6fc6cc8434.zip
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 <aneesh.kumar@linux.vnet.ibm.com> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Michal Hocko <mhocko@suse.cz> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Hillf Danton <dhillf@gmail.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions