libsupport_zynq: fix a cast

This commit is contained in:
Astro 2020-04-10 20:29:20 +02:00
parent 8e09947c54
commit 58e4e34fa5
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ impl<S: AsMut<[u32]>> Core1<S> {
// Ensure stack pointer has been written to cache
asm::dmb();
// Flush cache-line
cache::dccmvac(unsafe { &CORE1_STACK } as *const _ as u32);
cache::dccmvac(unsafe { &CORE1_STACK } as *const _ as usize);
// wake up core1
slcr::RegisterBlock::unlocked(|slcr| {