diff options
| author | Grissiom <[email protected]> | 2013-06-12 23:56:10 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-06-12 23:56:10 +0800 |
| commit | 009239ceeddcdbd4ce5ad573784143df1f485ee8 (patch) | |
| tree | ebffe8cb7741c16076f5897c281baa72ab5930e7 | |
| parent | 2df7fc310f29927d0184947c07deab0030bc880e (diff) | |
rm48x50: rt_interrupt_nest should be `volatile rt_uint8_t`
| -rw-r--r-- | libcpu/arm/cortex-r4/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
