ANDROID: mm: export symbol for vendor module

export symbols for vendor module for custom madvise behavior
- mm_access, pidfd_get_pid, swp_swapcount

Bug: 351175506
Change-Id: I55a48d09fa61b74a00eba32723eca16153d309ec
Signed-off-by: Sooyong Suk <s.suk@samsung.corp-partner.google.com>
This commit is contained in:
Sooyong Suk
2024-07-15 15:01:53 +09:00
committed by Suren Baghdasaryan
parent 852e218b49
commit 7b7404ab99
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -1583,6 +1583,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)
{
+1
View File
@@ -553,6 +553,7 @@ struct pid *pidfd_get_pid(unsigned int fd, unsigned int *flags)
fdput(f);
return pid;
}
EXPORT_SYMBOL_GPL(pidfd_get_pid);
/**
* pidfd_get_task() - Get the task associated with a pidfd
+1
View File
@@ -1785,6 +1785,7 @@ out:
unlock_cluster_or_swap_info(si, ci);
return count;
}
EXPORT_SYMBOL_GPL(swp_swapcount);
static bool swap_page_trans_huge_swapped(struct swap_info_struct *si,
swp_entry_t entry, int order)