nios2: get CPU features from ALT_CPU_* namespace
NIOS2_* namespace is deprecated. Change-Id: I5a9b07ee33b20aa18509e9d789837f48199ab25d Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
865843fe79
commit
0b6c4febf1
7 changed files with 32 additions and 32 deletions
|
@ -114,10 +114,10 @@ static ALWAYS_INLINE void _arch_irq_unlock(unsigned int key)
|
|||
* specifically flip just that bit.
|
||||
*/
|
||||
|
||||
#if (NIOS2_NUM_OF_SHADOW_REG_SETS > 0) || \
|
||||
(defined NIOS2_EIC_PRESENT) || \
|
||||
(defined NIOS2_MMU_PRESENT) || \
|
||||
(defined NIOS2_MPU_PRESENT)
|
||||
#if (ALT_CPU_NUM_OF_SHADOW_REG_SETS > 0) || \
|
||||
(defined ALT_CPU_EIC_PRESENT) || \
|
||||
(defined ALT_CPU_MMU_PRESENT) || \
|
||||
(defined ALT_CPU_MPU_PRESENT)
|
||||
uint32_t status_reg;
|
||||
|
||||
/* Interrupts were already locked when irq_lock() was called,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue