[tip: x86/urgent] mm: Remove tlb_flush_reason::NR_TLB_FLUSH_REASONS from <linux/mm_types.h>

From: tip-bot2 for Tal Zussman

Date: Fri Dec 12 2025 - 04:23:25 EST


The following commit has been merged into the x86/urgent branch of tip:

Commit-ID: 581a8b7b1e1e2ac53d6c150e4b592ae69aeea2e4
Gitweb: https://git.kernel.org/tip/581a8b7b1e1e2ac53d6c150e4b592ae69aeea2e4
Author: Tal Zussman <tz2294@xxxxxxxxxxxx>
AuthorDate: Fri, 12 Dec 2025 04:08:08 -05:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Fri, 12 Dec 2025 10:18:21 +01:00

mm: Remove tlb_flush_reason::NR_TLB_FLUSH_REASONS from <linux/mm_types.h>

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@xxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
Link: https://patch.msgid.link/20251212-tlb-trace-fix-v2-2-d322e0ad9b69@xxxxxxxxxxxx
---
include/linux/mm_types.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 9f6de06..42af229 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -1631,7 +1631,6 @@ enum tlb_flush_reason {
TLB_LOCAL_MM_SHOOTDOWN,
TLB_REMOTE_SEND_IPI,
TLB_REMOTE_WRONG_CPU,
- NR_TLB_FLUSH_REASONS,
};

/**