Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa2608e8 authored by Hareesh Gundu's avatar Hareesh Gundu Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Fix 32 bit kernel compilation errors



setup_64bit_pagetable() referring to is_compat_task(),
which is undefined for 32 bit kernel configuration.
is_compat_task() is defined for 32 bit arm but we were
relying on an implicit include on arm64. <linux/compat.h>
having the definition for 32 bit kernel, include this file
to fix compilation error. Here is_compat_task() doesn't
do what we need for 32 bit kernel.

Also Don't enable KGSL_MMU_64BIT feature for 32 bit
kernel configuration. As all of the iommu apis use
long for iova's and configure the SMMU hardware for
32 bit page tables.

Change-Id: I71393bdc149b78f4c1ed32fe78b6f80290e7e579
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent 1abae077
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment