mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
1ec14403f4
commit
c854e544ce
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user