]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/huge_memory: fix typo when updating mmu cache
authorHillf Danton <dhillf@gmail.com>
Mon, 24 Oct 2011 14:58:30 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:07:52 +0000 (20:07 +1100)
commitc85a6c6637128d1d92f82f0bac8a8d1c63a42ca0
tree9f1d279d3724866bb42b0ced293cdc4f16e6ff4f
parent0a31a0a3efcee5159aa29a467635b9a3f1c5cdce
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>
mm/huge_memory.c