PD#SWPL-10046
Problem:
unexpected conversation result
under 32bit userspace + 64bit kernel
Solution:
use compat_config_para_ex_memtype_s as ge2d_magic
for CONFIG_COMPAT
Verify:
verified on g12b-w400
Change-Id: I5a8fad9c18d9852c4e214c810b910100a30046a9
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
ge2d_config_ex_mem = &(ge2d_para_config.para_config_memtype);
if (ge2d_para_config.para_config_memtype.ge2d_magic
- == sizeof(struct config_para_ex_memtype_s)) {
+ == sizeof(struct compat_config_para_ex_memtype_s)) {
struct config_para_ex_ion_s *pge2d_config_ex;
uf_ex_mem =