arm64-mte-make-mte_save_tags-and-mte_restore_tags-static.patch removed from -mm tree
The quilt patch titled
Subject: arm64: mte: make mte_save_tags() and mte_restore_tags() static
has been removed from the -mm tree. Its filename was
arm64-mte-make-mte_save_tags-and-mte_restore_tags-static.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Tal Zussman <[email protected]>
Subject: arm64: mte: make mte_save_tags() and mte_restore_tags() static
Date: Tue, 08 Sep 2026 11:16:36 -0400
mte_save_tags() and mte_restore_tags() are only used by arch_prepare_to_swap() and arch_swap_restore() in mteswap.c. Make them static and remove their declarations from mte.h.
No functional change.
---
arch/arm64/include/asm/mte.h | 2 -- arch/arm64/mm/mteswap.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arm64/include/asm/mte.h renamed from arch/arm64/include/asm/mte.h~arm64-mte-make-mte_save_tags-and-mte_restore_tags-static +0 -2
@@ -23,9 +23,7 @@ unsigned long mte_copy_tags_from_user(vo unsigned long n);unsigned long mte_copy_tags_to_user (void __user *to,void *from,unsigned long n); -int mte_save_tags (struct page *page);void mte_save_page_tags (const void *page_addr,void *tag_storage); -void mte_restore_tags (swp_entry_t entry,struct page *page);void mte_restore_page_tags (void *page_addr,const void *tag_storage);void mte_invalidate_tags (int type,pgoff_t offset);void mte_invalidate_tags_area (int type);
arch/arm64/mm/mteswap.c renamed from arch/arm64/mm/mteswap.c~arm64-mte-make-mte_save_tags-and-mte_restore_tags-static +2 -2
@@ -20,7 +20,7 @@ void mte_free_tag_storage(char *storage)kfree (storage); } -int mte_save_tags (struct page *page) +static int mte_save_tags (struct page *page) {void *tag_storage, *ret;
@@ -47,7 +47,7 @@ int mte_save_tags(struct page *page)return 0 ; } -void mte_restore_tags (swp_entry_t entry,struct page *page) +static void mte_restore_tags (swp_entry_t entry,struct page *page) {void *tags =xa_load (&mte_pages, entry.val);
_
Patches currently in -mm which might be from [email protected] are
mm-memcontrol-take-a-const-folio-in-folio_memcg-and-friends.patch mm-memcontrol-constify-obj_cgroup_memcg-and-friends.patch mm-memcontrol-constify-the-lruvec-helpers.patch mm-page_io-take-a-const-folio-in-bio_associate_blkg_from_folio.patch mm-memcontrol-constify-the-mem_cgroup-accessors.patch mm-page_counter-constify-page_counter_read-and-page_counter_margin.patch mm-memcontrol-constify-the-reclaim-protection-helpers.patch mm-memcontrol-constify-the-memcg-and-lruvec-stat-readers.patch mm-memcontrol-constify-the-swap-accounting-helpers.patch mm-memcontrol-constify-mem_cgroup_swappiness-and-mem_cgroup_get_max.patch mm-memcontrol-constify-the-zswap-and-socket-pressure-helpers.patch vmcore-convert-mmap_vmcore_fault-to-use-folios.patch