diff options
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c')
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c index e7fb667..a20f876 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c +++ b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c @@ -48,6 +48,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include <linux/mm.h> +#include <linux/pfn_t.h> #include <linux/module.h> #include <linux/vmalloc.h> #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)) @@ -787,7 +788,7 @@ DoMapToUser(LinuxMemArea *psLinuxMemArea, #if defined(PVR_MAKE_ALL_PFNS_SPECIAL) if (bMixedMap) { - result = vm_insert_mixed(ps_vma, ulVMAPos, pfn); + result = vm_insert_mixed(ps_vma, ulVMAPos, pfn_to_pfn_t(pfn)); if(result != 0) { PVR_DPF((PVR_DBG_ERROR,"%s: Error - vm_insert_mixed failed (%d)", __FUNCTION__, result)); |