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:
Hareesh Gundu <hareeshg@codeaurora.org>
Loading
Please register or sign in to comment