[2/5] arm64: assembler: remove smp_dmb macro
diff mbox series

Message ID 20200116183548.39411-3-mark.rutland@arm.com
State New
Headers show
Series
  • arm64: entry: preparatory cleanup
Related show

Commit Message

Mark Rutland Jan. 16, 2020, 6:35 p.m. UTC
These days arm64 kernels are always SMP, and thus smp_dmb is an
overly-long way of writing dmb. Naturally, no-one uses it.

Remove the unused macro.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
---
 arch/arm64/include/asm/assembler.h | 7 -------
 1 file changed, 7 deletions(-)

Patch
diff mbox series

diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h
index 5f8a2772baeb..995362adaac0 100644
--- a/arch/arm64/include/asm/assembler.h
+++ b/arch/arm64/include/asm/assembler.h
@@ -80,13 +80,6 @@ 
 	.endm
 
 /*
- * SMP data memory barrier
- */
-	.macro	smp_dmb, opt
-	dmb	\opt
-	.endm
-
-/*
  * RAS Error Synchronization barrier
  */
 	.macro  esb