mm: add __nocfi in amlogic cma. [1/1]

PD#SWPL-175996

Problem:
fix cfi check failed.

Solution:
add __nocfi flags in amlogic cma.

Verify:
local.

Change-Id: I5ea21b79c564d19f9158b7142fa237200f2823de
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
This commit is contained in:
Jianxiong Pan
2024-10-14 14:49:11 +08:00
committed by gerrit autosubmit
parent 1ec14403f4
commit c854e544ce
+1 -1
View File
@@ -1538,7 +1538,7 @@ static bool cma_vma_show(struct page *page, struct vm_area_struct *vma,
return false; /* keep loop */
}
void rmap_walk_vma(struct page *page)
void __nocfi rmap_walk_vma(struct page *page)
{
struct rmap_walk_control rwc = {
.rmap_one = cma_vma_show,