Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E1CD389E13 for ; Wed, 29 Jul 2026 04:13:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785298390; cv=none; b=luF0+uJoue87GZzrynpWmav5KGgYAtOLJpjG8uHU2UxEPI9znjOtGolXs8yEm+Xg73/4hGm5FJuCQQ9uyC0vQlRQ+iuKR+EDOHu1bkeQAGPxoQEaG/hMAjxDfUpZVsUVQRitj3syfPybaKnKTuhSC3k850lkwvD7QTdLDI18k/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785298390; c=relaxed/simple; bh=wNBsaP/NZJ3w1pcJn4eEAo9QS0Mj1wjfgC0oB3fqHwM=; h=Date:To:From:Subject:Message-Id; b=lvIo/5QgOTyBAgeHHIXpHQKm4vwztqehiuwVtTXREtq7mS1j451853Gcmbdbkcgtw9gRAklDlhqChtoxo7XEdKcANZgND6iSv/h+s7C/slNp6G7oAI6/Yky9k3dI55Ab+csDdHbuOqCW/v6QUKP8GiwIQSx2wE2PK3Z7t4e+TLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=oZDGRW0a; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="oZDGRW0a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED18F1F000E9; Wed, 29 Jul 2026 04:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1785298389; bh=mhtjffOJTfTlhvOT2CuVyS3M9aHVDkyfkTROsylO3X8=; h=Date:To:From:Subject; b=oZDGRW0a/L8T6DEk69y2625EdOMgN+pzKhpgYzJCYDKk4FCvrhY8/wpEygznXIwt2 8ZknvIbCQuWgzopG6Ts6f8uivBvePo7Hi/bA9UKm+4APty6arm/AD3qhb1vaJksKEN yv1dIt2BMOOhCAeloDLlNR9XoSFskzPF5cmv5BZs= Date: Tue, 28 Jul 2026 21:13:08 -0700 To: mm-commits@vger.kernel.org,yuanchu@google.com,weixugc@google.com,vbabka@kernel.org,surenb@google.com,shakeel.butt@linux.dev,rppt@kernel.org,mhocko@suse.com,ljs@kernel.org,liam@infradead.org,kasong@tencent.com,david@kernel.org,baohua@kernel.org,axelrasmussen@google.com,arnd@arndb.de,thuth@redhat.com,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files.patch removed from -mm tree Message-Id: <20260729041308.ED18F1F000E9@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: mm: replace __ASSEMBLY__ with __ASSEMBLER__ in memory management header files has been removed from the -mm tree. Its filename was mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files.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: Thomas Huth Subject: mm: replace __ASSEMBLY__ with __ASSEMBLER__ in memory management header files Date: Fri, 19 Jun 2026 15:18:30 +0200 While the GCC and Clang compilers already define __ASSEMBLER__ automatically when compiling assembly code, __ASSEMBLY__ is a macro that only gets defined by the Makefiles in the kernel. This can be very confusing when switching between userspace and kernelspace coding, or when dealing with uapi headers that rather should use __ASSEMBLER__ instead. So let's standardize now on the __ASSEMBLER__ macro that is provided by the compilers. This is a completely mechanical patch (done with a simple "sed -i" statement). Link: https://lore.kernel.org/20260619131830.229804-1-thuth@redhat.com Signed-off-by: Thomas Huth Cc: Arnd Bergmann Cc: Axel Rasmussen Cc: Barry Song Cc: David Hildenbrand Cc: Kairui Song Cc: Liam R. Howlett Cc: Lorenzo Stoakes Cc: Michal Hocko Cc: Mike Rapoport Cc: Shakeel Butt Cc: Suren Baghdasaryan Cc: Vlastimil Babka Cc: Wei Xu Cc: Yuanchu Xie Signed-off-by: Andrew Morton --- include/asm-generic/fixmap.h | 4 ++-- include/asm-generic/getorder.h | 4 ++-- include/asm-generic/memory_model.h | 4 ++-- include/asm-generic/mmu.h | 2 +- include/asm-generic/pgtable-nop4d.h | 4 ++-- include/asm-generic/pgtable-nopmd.h | 4 ++-- include/asm-generic/pgtable-nopud.h | 4 ++-- include/linux/mmzone.h | 4 ++-- include/linux/pfn.h | 2 +- include/linux/pgtable.h | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) --- a/include/asm-generic/fixmap.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/fixmap.h @@ -21,7 +21,7 @@ #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ /* * 'index to address' translation. If anyone tries to use the idx * directly without translation, we catch the bug with a NULL-deference @@ -97,5 +97,5 @@ static inline unsigned long virt_to_fix( #define set_fixmap_io(idx, phys) \ __set_fixmap(idx, phys, FIXMAP_PAGE_IO) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* __ASM_GENERIC_FIXMAP_H */ --- a/include/asm-generic/getorder.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/getorder.h @@ -2,7 +2,7 @@ #ifndef __ASM_GENERIC_GETORDER_H #define __ASM_GENERIC_GETORDER_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include #include @@ -47,6 +47,6 @@ static __always_inline __attribute_const #endif } -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* __ASM_GENERIC_GETORDER_H */ --- a/include/asm-generic/memory_model.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/memory_model.h @@ -4,7 +4,7 @@ #include -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ /* * supports 3 memory models. @@ -86,6 +86,6 @@ static inline int pfn_valid(unsigned lon #endif /* CONFIG_DEBUG_VIRTUAL */ #define phys_to_page(phys) pfn_to_page(PHYS_PFN(phys)) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif --- a/include/asm-generic/mmu.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/mmu.h @@ -6,7 +6,7 @@ * This is the mmu.h header for nommu implementations. * Architectures with an MMU need something more complex. */ -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ typedef struct { unsigned long end_brk; --- a/include/asm-generic/pgtable-nop4d.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/pgtable-nop4d.h @@ -2,7 +2,7 @@ #ifndef _PGTABLE_NOP4D_H #define _PGTABLE_NOP4D_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #define __PAGETABLE_P4D_FOLDED 1 @@ -54,5 +54,5 @@ static inline p4d_t *p4d_offset(pgd_t *p #undef p4d_addr_end #define p4d_addr_end(addr, end) (end) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* _PGTABLE_NOP4D_H */ --- a/include/asm-generic/pgtable-nopmd.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/pgtable-nopmd.h @@ -2,7 +2,7 @@ #ifndef _PGTABLE_NOPMD_H #define _PGTABLE_NOPMD_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include @@ -68,6 +68,6 @@ static inline void pmd_free(struct mm_st #undef pmd_addr_end #define pmd_addr_end(addr, end) (end) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* _PGTABLE_NOPMD_H */ --- a/include/asm-generic/pgtable-nopud.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/asm-generic/pgtable-nopud.h @@ -2,7 +2,7 @@ #ifndef _PGTABLE_NOPUD_H #define _PGTABLE_NOPUD_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include @@ -62,5 +62,5 @@ static inline pud_t *pud_offset(p4d_t *p #undef pud_addr_end #define pud_addr_end(addr, end) (end) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* _PGTABLE_NOPUD_H */ --- a/include/linux/mmzone.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/linux/mmzone.h @@ -2,7 +2,7 @@ #ifndef _LINUX_MMZONE_H #define _LINUX_MMZONE_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #ifndef __GENERATING_BOUNDS_H #include @@ -2389,5 +2389,5 @@ static inline unsigned long next_present #endif #endif /* !__GENERATING_BOUNDS.H */ -#endif /* !__ASSEMBLY__ */ +#endif /* !__ASSEMBLER__ */ #endif /* _LINUX_MMZONE_H */ --- a/include/linux/pfn.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/linux/pfn.h @@ -2,7 +2,7 @@ #ifndef _LINUX_PFN_H_ #define _LINUX_PFN_H_ -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include #endif --- a/include/linux/pgtable.h~mm-replace-__assembly__-with-__assembler__-in-memory-management-header-files +++ a/include/linux/pgtable.h @@ -8,7 +8,7 @@ #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT) #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT) -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #ifdef CONFIG_MMU #include @@ -2320,7 +2320,7 @@ static inline const char *pgtable_level_ } } -#endif /* !__ASSEMBLY__ */ +#endif /* !__ASSEMBLER__ */ #if !defined(MAX_POSSIBLE_PHYSMEM_BITS) && !defined(CONFIG_64BIT) #ifdef CONFIG_PHYS_ADDR_T_64BIT _ Patches currently in -mm which might be from thuth@redhat.com are percpu-replace-__assembly__-with-__assembler__-in-percpu-defsh-header-file.patch