]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: asm-offsets: remove VM_EXEC and PAGE_SZ
authorMark Rutland <mark.rutland@arm.com>
Mon, 7 Oct 2024 12:39:19 +0000 (13:39 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Oct 2024 17:42:07 +0000 (18:42 +0100)
commit4ce689b4480a528f8d088c71d26744944e360f76
treed7f133885e2a73e12dbeb9d0ffc2163ca259f797
parent1abc7c1e593337491d27b84a2a0b79c6d8164811
arm64: asm-offsets: remove VM_EXEC and PAGE_SZ

The VM_EXEC definition duplicates the common VM_EXEC definition from
<linux/mm.h>. The common definition cannot safely be included by
assembly code but currently we don't need to use VM_EXEC in assembly.

The PAGE_SZ definition duplicates arm64's definition of PAGE_SIZE from
<asm/page-def.h> which can safely be included from assembly code and
should be used directly.

Remove the duplicate definitions.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241007123921.549340-6-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/asm-offsets.c