]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
pagemap: add #ifdefs CONFIG_HUGETLB_PAGE on code walking hugetlb vma
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Mon, 24 May 2010 21:32:12 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:58 +0000 (08:06 -0700)
commit1a5cb81465b66b74bf3d6ad36e5382238de6a132
tree28494edfea96752f57c88601d80819759085fade
parente48293fd75b3aa67f43ad6e3d2ff397caa55d58b
pagemap: add #ifdefs CONFIG_HUGETLB_PAGE on code walking hugetlb vma

If !CONFIG_HUGETLB_PAGE, pagemap_hugetlb_range() is never called.  So put
it (and its calling function) into #ifdef block.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c