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
This commit is contained in:
@@ -207,11 +207,6 @@
|
|||||||
#define DSB mcr CP15_CP15DSB
|
#define DSB mcr CP15_CP15DSB
|
||||||
#define DMB mcr CP15_CP15DMB
|
#define DMB mcr CP15_CP15DMB
|
||||||
#define WFI mcr CP15_CP15WFI
|
#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
|
||||||
|
|
||||||
#endif /* !_MACHINE_ASM_H_ */
|
#endif /* !_MACHINE_ASM_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user