From 009239ceeddcdbd4ce5ad573784143df1f485ee8 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Wed, 12 Jun 2013 23:56:10 +0800 Subject: [PATCH] rm48x50: rt_interrupt_nest should be `volatile rt_uint8_t` --- libcpu/arm/cortex-r4/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpu/arm/cortex-r4/interrupt.c b/libcpu/arm/cortex-r4/interrupt.c index 8d0a977db9..d001b509ee 100644 --- a/libcpu/arm/cortex-r4/interrupt.c +++ b/libcpu/arm/cortex-r4/interrupt.c @@ -22,7 +22,7 @@ /* exception and interrupt handler table */ struct rt_irq_desc irq_desc[MAX_HANDLERS]; -extern rt_uint32_t rt_interrupt_nest; +extern volatile rt_uint8_t rt_interrupt_nest; /* exception and interrupt handler table */ rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread; -- GitLab