diff options
author | Yosry Ahmed <[email protected]> | 2024-01-26 08:06:43 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:41 -0800 |
commit | 7dbbc8f57d4ba3c369b692db9fd2c9653abf0bb5 (patch) | |
tree | 2bd8585d3bfd3ce73691755d32f5a750015bba3c /arch/x86/mm/tlb.c | |
parent | 5cec4eb7fad6fb1e9a3dd8403b558d1eff7490ff (diff) |
x86/mm: delete unused cpu argument to leave_mm()
The argument is unused since commit 3d28ebceaffa ("x86/mm: Rework lazy
TLB to track the actual loaded mm"), delete it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yosry Ahmed <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov (AMD) <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/x86/mm/tlb.c')
-rw-r--r-- | arch/x86/mm/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index 5768d386efab..80b0caa82a91 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -299,7 +299,7 @@ static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, unsigned long lam, write_cr3(new_mm_cr3); } -void leave_mm(int cpu) +void leave_mm(void) { struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); |