arm64: introduce is_a32_compat_{task,thread} for AArch32 compat
maillist inclusion category: feature bugzilla: 46790 CVE: NA Reference: https://github.com/norov/linux/commits/ilp32-5.2 -------------------------------- Based on patch of Andrew Pinski. This patch introduces is_a32_compat_task and is_a32_thread so it is easier to say this is a a32 specific thread or a generic compat thread/task. Corresponding functions are located in <asm/is_compat.h> to avoid mess in headers. Some files include both <linux/compat.h> and <asm/compat.h>, and this is wrong because <linux/compat.h> has <asm/compat.h> already included. It was fixed too. Signed-off-by:Yury Norov <ynorov@caviumnetworks.com> Signed-off-by:
Andrew Pinski <Andrew.Pinski@caviumnetworks.com> Signed-off-by:
Bamvor Jian Zhang <bamv2005@gmail.com> Signed-off-by:
Yury Norov <ynorov@marvell.com> Conflicts: arch/arm64/include/asm/compat.h arch/arm64/kernel/process.c arch/arm64/kernel/traps.c arch/arm64/mm/mmap.c Signed-off-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Chen Jun <chenjun102@huawei.com>
Loading
Please sign in to comment