Skip to content

Commit 49c6950

Browse files
thejhakpm00
authored andcommitted
mmu_notifiers: remove leftover stub macros
Commit ec8832d ("mmu_notifiers: don't invalidate secondary TLBs as part of mmu_notifier_invalidate_range_end()") removed the main definitions of {ptep,pmdp_huge,pudp_huge}_clear_flush_notify; just their !CONFIG_MMU_NOTIFIER stubs are left behind, remove them. Link: https://lkml.kernel.org/r/20250523-mmu-notifier-cleanup-unused-v1-1-cc1f47ebec33@google.com Signed-off-by: Jann Horn <[email protected]> Reviewed-by: Alistair Popple <[email protected]> Reviewed-by: Qi Zheng <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent cfc6951 commit 49c6950

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/linux/mmu_notifier.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,9 +654,6 @@ static inline void mmu_notifier_subscriptions_destroy(struct mm_struct *mm)
654654
#define pmdp_clear_flush_young_notify pmdp_clear_flush_young
655655
#define ptep_clear_young_notify ptep_test_and_clear_young
656656
#define pmdp_clear_young_notify pmdp_test_and_clear_young
657-
#define ptep_clear_flush_notify ptep_clear_flush
658-
#define pmdp_huge_clear_flush_notify pmdp_huge_clear_flush
659-
#define pudp_huge_clear_flush_notify pudp_huge_clear_flush
660657

661658
static inline void mmu_notifier_synchronize(void)
662659
{

0 commit comments

Comments
 (0)