Skip to content

Commit

Permalink
Export symbol mm_access
Browse files Browse the repository at this point in the history
This is needed for CMA in monolithic kernel builds.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
  • Loading branch information
fxkamd authored and Flora Cui committed Apr 24, 2020
1 parent e5f7eec commit 221367f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/fork.c
Expand Up @@ -1238,6 +1238,7 @@ struct mm_struct *mm_access(struct task_struct *task, unsigned int mode)

return mm;
}
EXPORT_SYMBOL_GPL(mm_access);

static void complete_vfork_done(struct task_struct *tsk)
{
Expand Down

0 comments on commit 221367f

Please sign in to comment.