We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33aad22 commit b936865Copy full SHA for b936865
src/register/control.rs
@@ -176,7 +176,7 @@ pub unsafe fn write(_control: Control) {
176
#[cfg(feature = "inline-asm")]
177
() => {
178
let control = _control.bits();
179
- unsafe { asm!("msr CONTROL, $0" :: "r"(control) : "memory" : "volatile") }
+ asm!("msr CONTROL, $0" :: "r"(control) : "memory" : "volatile");
180
}
181
182
#[cfg(not(feature = "inline-asm"))]
0 commit comments