]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm: Remove tlb_flush_reason::NR_TLB_FLUSH_REASONS from <linux/mm_types.h>
authorTal Zussman <tz2294@columbia.edu>
Fri, 12 Dec 2025 09:08:08 +0000 (04:08 -0500)
committerIngo Molnar <mingo@kernel.org>
Sat, 13 Dec 2025 10:01:16 +0000 (11:01 +0100)
This has been unused since it was added 11 years ago in:

  d17d8f9dedb9 ("x86/mm: Add tracepoints for TLB flushes")

Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Rik van Riel <riel@surriel.com>
Acked-by: David Hildenbrand <david@redhat.com>
Link: https://patch.msgid.link/20251212-tlb-trace-fix-v2-2-d322e0ad9b69@columbia.edu
include/linux/mm_types.h

index 9f6de068295d303d74e4c1e971ac24a0e3b3b849..42af2292951d4fb95e0838f31a06d84b806ef810 100644 (file)
@@ -1631,7 +1631,6 @@ enum tlb_flush_reason {
        TLB_LOCAL_MM_SHOOTDOWN,
        TLB_REMOTE_SEND_IPI,
        TLB_REMOTE_WRONG_CPU,
-       NR_TLB_FLUSH_REASONS,
 };
 
 /**