Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
This commit is contained in:
parent
1699561bb6
commit
8e6a292694
@ -139,7 +139,7 @@ int nor_main(int argc, char *argv)
|
|||||||
* are disabled!
|
* are disabled!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(void)irqsave();
|
(void)up_irq_save();
|
||||||
|
|
||||||
/* Disable MATRIX write protection */
|
/* Disable MATRIX write protection */
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ int dram_main(int argc, char *argv)
|
|||||||
* are disabled!
|
* are disabled!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(void)irqsave();
|
(void)up_irq_save();
|
||||||
|
|
||||||
/* Disable the caches and the MMU. Disabling the MMU should be safe here
|
/* Disable the caches and the MMU. Disabling the MMU should be safe here
|
||||||
* because there is a 1-to-1 identity mapping between the physical and
|
* because there is a 1-to-1 identity mapping between the physical and
|
||||||
|
@ -103,7 +103,7 @@ int board_power_off(int status)
|
|||||||
|
|
||||||
/* stop background processes */
|
/* stop background processes */
|
||||||
|
|
||||||
(void)irqsave();
|
(void)up_irq_save();
|
||||||
|
|
||||||
/* switch to internal HSI and get the PD0 and PD1 as GPIO */
|
/* switch to internal HSI and get the PD0 and PD1 as GPIO */
|
||||||
|
|
||||||
|
@ -64,6 +64,6 @@ void up_irqinitialize(void)
|
|||||||
/* And finally, enable interrupts (including the timer) */
|
/* And finally, enable interrupts (including the timer) */
|
||||||
|
|
||||||
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
||||||
irqrestore(Z80_C_FLAG);
|
up_irq_restore(Z80_C_FLAG);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -84,6 +84,6 @@ void up_irqinitialize(void)
|
|||||||
/* And finally, enable interrupts (including the timer) */
|
/* And finally, enable interrupts (including the timer) */
|
||||||
|
|
||||||
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
||||||
irqrestore(Z80_C_FLAG);
|
up_irq_restore(Z80_C_FLAG);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user