diff options
| author | Hou Wenlong <houwenlong.hwl@antgroup.com> | 2026-01-15 11:38:34 +0800 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-01-16 22:16:32 +0100 |
| commit | 954fc7ac15c18fc21c4a423e542f6df5dc727cad (patch) | |
| tree | 22398d56c4d86db49bd7957ecf653e4c28c2e688 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 8a4e92b3260ae7664d0531e1b42c38d336e7717a (diff) | |
x86/mm: Hide mm_free_global_asid() definition under CONFIG_BROADCAST_TLB_FLUSH
When CONFIG_BROADCAST_TLB_FLUSH is not enabled, mm_free_global_asid() remains
a globally visible symbol and generates a useless function call to it in
destroy_context(). Therefore, hide the mm_free_global_asid() definition under
CONFIG_BROADCAST_TLB_FLUSH and provide a static inline empty version when it
is not enabled to remove the function call.
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Rik van Riel <riel@surriel.com>
Link: https://patch.msgid.link/b262a8ec8076fb26bb692aaf113848b1e6f40e40.1768448079.git.houwenlong.hwl@antgroup.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
