lkml.org 
[lkml]   [2017]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [HMM 10/16] mm/hmm/mirror: helper to snapshot CPU page table v2
On Wed 05-04-17 16:40:20, Jérôme Glisse wrote:
> This does not use existing page table walker because we want to share
> same code for our page fault handler.

I am getting the following compilation error with sparc32
allmodconfig. I didn't check more closely yet.

mm/hmm.c: In function 'hmm_vma_walk_pmd':
mm/hmm.c:370:53: error: macro "pte_index" requires 2 arguments, but only 1 given
unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
^
mm/hmm.c:370:39: error: 'pte_index' undeclared (first use in this function)
unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
^
mm/hmm.c:370:39: note: each undeclared identifier is reported only once for each function it appears in
mm/hmm.c: In function 'hmm_devmem_release':
mm/hmm.c:816:2: error: implicit declaration of function 'arch_remove_memory' [-Werror=implicit-function-declaration]
arch_remove_memory(align_start, align_size, devmem->pagemap.type);
^
cc1: some warnings being treated as errors
--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2017-04-10 10:35    [W:0.198 / U:26.708 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site