From: Linus Torvalds Date: Fri, 17 Apr 2026 15:34:43 +0000 (-0700) Subject: Merge tag 'alpha-for-v7.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/lindh... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a10e80be6343cbdaabe80f82cbd640fe3772d102;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'alpha-for-v7.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha Pull alpha updates from Magnus Lindholm: "One fix to silence pgprot_modify() compiler warnings, and one patch adding SECCOMP/SECCOMP_FILTER support together with the syscall and ptrace fixes needed for it" * tag 'alpha-for-v7.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha: alpha: Define pgprot_modify to silence tautological comparison warnings alpha: add support for SECCOMP and SECCOMP_FILTER --- a10e80be6343cbdaabe80f82cbd640fe3772d102 diff --cc arch/alpha/include/asm/pgtable.h index 268ddde336171,58870cad33517..8e00cf9dc39de --- a/arch/alpha/include/asm/pgtable.h +++ b/arch/alpha/include/asm/pgtable.h @@@ -126,6 -126,23 +126,17 @@@ struct vm_area_struct */ #define pgprot_noncached(prot) (prot) + /* + * All caching attribute macros are identity on Alpha, so the generic + * pgprot_modify() degenerates to tautological self-comparisons. + * Override it to just return newprot directly. + */ + #define pgprot_modify pgprot_modify + static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) + { + return newprot; + } + -/* - * ZERO_PAGE is a global shared page that is always zero: used - * for zero-mapped memory areas etc.. - */ -#define ZERO_PAGE(vaddr) (virt_to_page(ZERO_PGE)) - /* * On certain platforms whose physical address space can overlap KSEG, * namely EV6 and above, we must re-twiddle the physaddr to restore the