diff options
| author | Ryan Roberts <[email protected]> | 2024-02-26 12:03:20 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-04 17:01:18 -0800 |
| commit | 912609e96cd728766373d84903f12a6d836de518 (patch) | |
| tree | 4b98392ee5d2629685c82e7d7c7ac99628252aba /tools/perf/scripts/python/bin | |
| parent | ff0b5905a9c9712f36fb7f9dd1be17564483b5d4 (diff) | |
arm64/mm: export contpte symbols only to GPL users
Patch series "Address some contpte nits".
These 2 patches address some nits raised by Catalin late in the review cycle for
my contpte series [1].
[1] https://lore.kernel.org/linux-mm/[email protected]/
This patch (of 2):
The contpte symbols must be exported since some of the public inline
ptep_* APIs are called from modules and these inlines now call the contpte
functions. Originally they were exported as EXPORT_SYMBOL() for fear of
breaking out-of-tree modules. But we subsequently concluded that
EXPORT_SYMBOL_GPL() should be safe since these functions are deeply core
mm routines, and any module operating at this level is not going to be
able to survive on EXPORT_SYMBOL alone.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/linux-mm/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ryan Roberts <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Mark Rutland <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions