summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-a
diff options
context:
space:
mode:
authorthewon86 <[email protected]>2022-04-20 10:56:11 +0800
committerguo <[email protected]>2022-04-20 14:22:43 +0800
commitf5b0bfd3f4f450424b5bc1f084959d0436c8a6e6 (patch)
tree1081304c855cd4002a7f460e59561415bf3e95c1 /libcpu/arm/cortex-a
parent5fa15a19a0917e762c8d10207544f2a0396fd15b (diff)
uniform code writing-disable interrupt
Diffstat (limited to 'libcpu/arm/cortex-a')
-rw-r--r--libcpu/arm/cortex-a/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-a/cpu.c b/libcpu/arm/cortex-a/cpu.c
index c95c58a13c..7d1a389f08 100644
--- a/libcpu/arm/cortex-a/cpu.c
+++ b/libcpu/arm/cortex-a/cpu.c
@@ -65,7 +65,7 @@ void rt_hw_spin_unlock(rt_hw_spinlock_t *lock)
/** shutdown CPU */
RT_WEAK void rt_hw_cpu_shutdown()
{
- rt_uint32_t level;
+ rt_base_t level;
rt_kprintf("shutdown...\n");
level = rt_hw_interrupt_disable();