git: e7961ccd9f99 - main - Remove Arm barriers for pre-armv6 CPUs

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 11:36:14 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=e7961ccd9f99ea2ffebbd50f74bbd67b1cb30a87

commit e7961ccd9f99ea2ffebbd50f74bbd67b1cb30a87
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-01-10 15:25:18 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2022-01-11 11:22:29 +0000

    Remove Arm barriers for pre-armv6 CPUs
    
    Remove the macros that define the Arm barriers on Armv5 and earlier. We
    don't support these CPUs.
    
    Reviewed by:    imp
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D33807
---
 sys/arm/include/asm.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys/arm/include/asm.h b/sys/arm/include/asm.h
index 975eca6e680a..b346f50ca210 100644
--- a/sys/arm/include/asm.h
+++ b/sys/arm/include/asm.h
@@ -207,11 +207,6 @@
 #define DSB	mcr CP15_CP15DSB
 #define DMB	mcr CP15_CP15DMB
 #define WFI	mcr CP15_CP15WFI
-#else
-#define ISB	mcr CP15_CP15ISB
-#define DSB	mcr CP15_CP15DSB	/* DSB and DMB are the */
-#define DMB	mcr CP15_CP15DSB	/* same prior to v6.*/
-/* No form of WFI available on v4, define nothing to get an error on use. */
 #endif
 
 #endif /* !_MACHINE_ASM_H_ */