On Mon, Jun 20, 2022 at 10:15:31AM +0530, Anshuman Khandual wrote:> +extern pgprot_t protection_map[16];externs in .c files are never a good idea. I'd rather add a helperfunction toadd pgprot_encrypted to protection_map to pgprot.c.