--- zzzz-none-000/linux-2.6.39.4/arch/x86/mm/pat.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/arch/x86/mm/pat.c 2021-11-10 13:23:10.000000000 +0000 @@ -7,6 +7,13 @@ * Loosely based on earlier PAT patchset from Eric Biederman and Andi Kleen. */ +/****************************************************************** + + Includes Intel Corporation's changes/modifications dated: 01/2013. + Changed/modified portions - Copyright(c) 2013, Intel Corporation. + +******************************************************************/ + #include #include #include @@ -472,6 +479,10 @@ return vma_prot; } +#ifdef CONFIG_ARCH_GEN3 +EXPORT_SYMBOL_GPL(phys_mem_access_prot); +#endif + #ifdef CONFIG_STRICT_DEVMEM /* This check is done in drivers/char/mem.c in case of STRICT_DEVMEM*/ static inline int range_is_allowed(unsigned long pfn, unsigned long size) @@ -537,6 +548,9 @@ flags); return 1; } +#ifdef CONFIG_ARCH_GEN3 +EXPORT_SYMBOL_GPL(phys_mem_access_prot_allowed); +#endif /* * Change the memory type for the physial address range in kernel identity