aarch64: fix a bug of bcm2837::asm::dealy()
#[inline]
pub unsafe fn delay(clock: u32) {
#[cfg(target_arch = "aarch64")]
- asm!("1: subs x0, x0, #1; bne 1b;"
+ asm!("mov x1, x0; 1: subs x1, x1, #1; bne 1b;"
:: "{x0}"(clock)
:: "volatile");
}
