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() {
94
94
compiler_fence ( Ordering :: SeqCst ) ;
95
95
#[ cfg( cortex_m) ]
96
96
unsafe {
97
- asm ! ( "isb" , options( nomem , nostack, preserves_flags) )
97
+ asm ! ( "isb" , options( nostack, preserves_flags) )
98
98
} ;
99
99
compiler_fence ( Ordering :: SeqCst ) ;
100
100
}
@@ -111,7 +111,7 @@ pub fn dsb() {
111
111
compiler_fence ( Ordering :: SeqCst ) ;
112
112
#[ cfg( cortex_m) ]
113
113
unsafe {
114
- asm ! ( "dsb" , options( nomem , nostack, preserves_flags) )
114
+ asm ! ( "dsb" , options( nostack, preserves_flags) )
115
115
} ;
116
116
compiler_fence ( Ordering :: SeqCst ) ;
117
117
}
@@ -126,7 +126,7 @@ pub fn dmb() {
126
126
compiler_fence ( Ordering :: SeqCst ) ;
127
127
#[ cfg( cortex_m) ]
128
128
unsafe {
129
- asm ! ( "dmb" , options( nomem , nostack, preserves_flags) )
129
+ asm ! ( "dmb" , options( nostack, preserves_flags) )
130
130
} ;
131
131
compiler_fence ( Ordering :: SeqCst ) ;
132
132
}
You can’t perform that action at this time.
0 commit comments