kprintf: fix checking if interrupt is disabled

Change-Id: I2ee1a1e2438ae761c4136593953ede2738bc6f74
This commit is contained in:
Masamichi Takagi
2021-03-09 12:14:55 +09:00
committed by Masamichi Takagi
parent c94cf8e6f0
commit 3e00189de0
4 changed files with 24 additions and 7 deletions

View File

@ -23,9 +23,7 @@ extern int num_processors;
void cpu_enable_interrupt(void);
void cpu_disable_interrupt(void);
#ifdef ENABLE_FUGAKU_HACKS
int cpu_interrupt_disabled(void);
#endif
void cpu_halt(void);
#ifdef ENABLE_FUGAKU_HACKS
void cpu_halt_panic(void);