Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h

From: Arnd Bergmann
Date: Mon Sep 12 2016 - 11:28:36 EST


On Monday, September 12, 2016 11:13:45 PM CEST kbuild test robot wrote:
> 816
> > 817 struct file;
> > 818 int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
> > 819 unsigned long size, pgprot_t *vma_prot);
> 820 #endif /* _ASM_GENERIC_PGTABLE_H */

This should be inside of the #ifdef __ASSEMBLY__

Arnd