File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ pub fn isb() {
9494 compiler_fence ( Ordering :: SeqCst ) ;
9595 #[ cfg( cortex_m) ]
9696 unsafe {
97- asm ! ( "isb" , options( nomem , nostack, preserves_flags) )
97+ asm ! ( "isb" , options( nostack, preserves_flags) )
9898 } ;
9999 compiler_fence ( Ordering :: SeqCst ) ;
100100}
@@ -111,7 +111,7 @@ pub fn dsb() {
111111 compiler_fence ( Ordering :: SeqCst ) ;
112112 #[ cfg( cortex_m) ]
113113 unsafe {
114- asm ! ( "dsb" , options( nomem , nostack, preserves_flags) )
114+ asm ! ( "dsb" , options( nostack, preserves_flags) )
115115 } ;
116116 compiler_fence ( Ordering :: SeqCst ) ;
117117}
@@ -126,7 +126,7 @@ pub fn dmb() {
126126 compiler_fence ( Ordering :: SeqCst ) ;
127127 #[ cfg( cortex_m) ]
128128 unsafe {
129- asm ! ( "dmb" , options( nomem , nostack, preserves_flags) )
129+ asm ! ( "dmb" , options( nostack, preserves_flags) )
130130 } ;
131131 compiler_fence ( Ordering :: SeqCst ) ;
132132}
You can’t perform that action at this time.
0 commit comments