Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()

This commit is contained in:
Gregory Nutt 2016-02-14 16:12:06 -06:00
parent 1699561bb6
commit 8e6a292694
5 changed files with 5 additions and 5 deletions

View File

@ -139,7 +139,7 @@ int nor_main(int argc, char *argv)
* are disabled!
*/
(void)irqsave();
(void)up_irq_save();
/* Disable MATRIX write protection */

View File

@ -152,7 +152,7 @@ int dram_main(int argc, char *argv)
* are disabled!
*/
(void)irqsave();
(void)up_irq_save();
/* 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

View File

@ -103,7 +103,7 @@ int board_power_off(int status)
/* stop background processes */
(void)irqsave();
(void)up_irq_save();
/* switch to internal HSI and get the PD0 and PD1 as GPIO */

View File

@ -64,6 +64,6 @@ void up_irqinitialize(void)
/* And finally, enable interrupts (including the timer) */
#ifndef CONFIG_SUPPRESS_INTERRUPTS
irqrestore(Z80_C_FLAG);
up_irq_restore(Z80_C_FLAG);
#endif
}

View File

@ -84,6 +84,6 @@ void up_irqinitialize(void)
/* And finally, enable interrupts (including the timer) */
#ifndef CONFIG_SUPPRESS_INTERRUPTS
irqrestore(Z80_C_FLAG);
up_irq_restore(Z80_C_FLAG);
#endif
}