Hi Peter, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git schednuma2 head: fd954115e6614c4302be92943ad9128aff5d3f83 commit: c69043f3f15600e00466cfa309299d4fd7609268 [5/20] mm, mpol: Create special PROT_NONE infrastructure config: cris-allyesconfig (attached as .config) All related error/warning messages: In file included from mm/filemap.c:20:0: include/linux/mm.h: In function 'vma_prot_none': include/linux/mm.h:1538:2: error: implicit declaration of function 'pgprot_modify' [-Werror=implicit-function-declaration] include/linux/mm.h:1538:2: error: incompatible types when returning type 'int' but 'pgprot_t' was expected cc1: some warnings being treated as errors -- In file included from mm/bounce.c:6:0: include/linux/mm.h: In function 'vma_prot_none': include/linux/mm.h:1538:2: error: implicit declaration of function 'pgprot_modify' [-Werror=implicit-function-declaration] include/linux/mm.h:1538:2: error: incompatible types when returning type 'int' but 'pgprot_t' was expected cc1: some warnings being treated as errors -- In file included from mm/page_io.c:13:0: include/linux/mm.h: In function 'vma_prot_none': include/linux/mm.h:1538:2: error: implicit declaration of function 'pgprot_modify' [-Werror=implicit-function-declaration] include/linux/mm.h:1538:2: error: incompatible types when returning type 'int' but 'pgprot_t' was expected cc1: some warnings being treated as errors -- In file included from mm/swap_state.c:9:0: include/linux/mm.h: In function 'vma_prot_none': include/linux/mm.h:1538:2: error: implicit declaration of function 'pgprot_modify' [-Werror=implicit-function-declaration] include/linux/mm.h:1538:2: error: incompatible types when returning type 'int' but 'pgprot_t' was expected cc1: some warnings being treated as errors .. vim +1538 include/linux/mm.h 1535 * obtain PROT_NONE by removing READ|WRITE|EXEC privs 1536 */ 1537 vm_flags_t vmflags = vma->vm_flags & ~(VM_READ|VM_WRITE|VM_EXEC); > 1538 return pgprot_modify(vma->vm_page_prot, vm_get_page_prot(vmflags)); 1539 } 1540 1541 struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr); --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu Intel Corporation