]> git.baikalelectronics.ru Git - kernel.git/commit
mm,numa: fix update_mmu_cache_pmd call
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Dec 2012 08:50:57 +0000 (19:50 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 03:37:03 +0000 (19:37 -0800)
commitceef42c2a7b4e323352e8fcf3066adbb7e477f6f
tree4d269c7fb957062812bfe9deef8834ed98ea6afd
parent33fcfa9cb8946f576a03eae01e4afe6005841324
mm,numa: fix update_mmu_cache_pmd call

This build error is currently hidden by the fact that the x86
implementation of 'update_mmu_cache_pmd()' is a macro that doesn't use
its last argument, but commit 753a5ae651cf ("mm: numa: Add THP migration
for the NUMA working set scanning fault case") introduced a call with
the wrong third argument.

In the akpm tree, it causes this build error:

  mm/migrate.c: In function 'migrate_misplaced_transhuge_page_put':
  mm/migrate.c:1666:2: error: incompatible type for argument 3 of 'update_mmu_cache_pmd'
  arch/x86/include/asm/pgtable.h:792:20: note: expected 'struct pmd_t *' but argument is of type 'pmd_t'

Fix it.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c