]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory: fix typo when updating mmu cache
authorHillf Danton <dhillf@gmail.com>
Tue, 1 Nov 2011 00:09:40 +0000 (17:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:51 +0000 (17:30 -0700)
commit7f2c75b80f58073b8b8d5b30fb6786e8f7938870
tree19de03a943fb00f7ed239147256aa558ddfd99b3
parentbad7334e4a61123eca0d1fddd65e4b3dcb09d922
mm/huge_memory: fix typo when updating mmu cache

There are three cases of update_mmu_cache() in the file, and the case in
function collapse_huge_page() has a typo, namely the last parameter used,
which is corrected based on the other two cases.

Due to the define of update_mmu_cache by X86, the only arch that
implements THP currently, the change here has no really crystal point, but
one or two minutes of efforts could be saved for those archs that are
likely to support THP in future.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c