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!
|
||||
*/
|
||||
|
||||
(void)irqsave();
|
||||
(void)up_irq_save();
|
||||
|
||||
/* Disable MATRIX write protection */
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user