]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: asm-offsets: remove DMA_{TO,FROM}_DEVICE
authorMark Rutland <mark.rutland@arm.com>
Mon, 7 Oct 2024 12:39:20 +0000 (13:39 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Oct 2024 17:42:07 +0000 (18:42 +0100)
commitb129125e1f963500fd1cbd19e4155a65ce922944
tree24fea382bd8f6c1ee1f014a02a71a1f77463f149
parent4ce689b4480a528f8d088c71d26744944e360f76
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 <linux/dma-direction.h> (which used
to live in <linux/dma-mapping.h>), 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 <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241007123921.549340-7-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/asm-offsets.c