From: Mark Rutland Date: Mon, 7 Oct 2024 12:39:20 +0000 (+0100) Subject: arm64: asm-offsets: remove DMA_{TO,FROM}_DEVICE X-Git-Tag: v6.13-rc1~203^2~2^4~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b129125e1f963500fd1cbd19e4155a65ce922944;p=thirdparty%2Fkernel%2Flinux.git arm64: asm-offsets: remove DMA_{TO,FROM}_DEVICE The DMA_TO_DEVICE and DMA_FROM_DEVICE defintitons in asm-offsets duplicate the common defintions from (which used to live in ), and haven't been used from asseembly code since commit: 7eacf1858bc86fe9 ("arm64: mm: Remove assembly DMA cache maintenance wrappers") Remove them both. Signed-off-by: Mark Rutland Cc: Will Deacon Link: https://lore.kernel.org/r/20241007123921.549340-7-mark.rutland@arm.com Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c index 7c7c8d98256f9..e5ffdc0163aad 100644 --- a/arch/arm64/kernel/asm-offsets.c +++ b/arch/arm64/kernel/asm-offsets.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -96,9 +95,6 @@ int main(void) DEFINE(FREGS_SIZE, sizeof(struct ftrace_regs)); BLANK(); #endif - DEFINE(DMA_TO_DEVICE, DMA_TO_DEVICE); - DEFINE(DMA_FROM_DEVICE, DMA_FROM_DEVICE); - BLANK(); DEFINE(PREEMPT_DISABLE_OFFSET, PREEMPT_DISABLE_OFFSET); BLANK(); DEFINE(CPU_BOOT_TASK, offsetof(struct secondary_data, task));