toolchain/ghs: Fix zero used for undefined preprocessing identifier "NR_IRQS" warnings
CC: unistd/lib_setregid.c "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/irq.h", line 53: warning #193-D: zero used for undefined preprocessing identifier "NR_IRQS" # if NR_IRQS <= 256 ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/irq.h", line 82: warning #193-D: zero used for undefined preprocessing identifier "NR_IRQS" #if NR_IRQS <= 256 CC: mount/fs_umount2.c "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/irq.h", line 72: warning #193-D: zero used for undefined preprocessing identifier "NR_IRQS" #if NR_IRQS <= 256 Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
parent
b2a739a67a
commit
b3627bb8c6
|
@ -34,14 +34,22 @@
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Include NuttX-specific IRQ definitions */
|
/****************************************************************************
|
||||||
|
* Public Function Prototypes
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/irq.h>
|
/****************************************************************************
|
||||||
|
* Included Files
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
/* Include chip-specific IRQ definitions (including IRQ numbers) */
|
/* Include chip-specific IRQ definitions (including IRQ numbers) */
|
||||||
|
|
||||||
#include <arch/chip/irq.h>
|
#include <arch/chip/irq.h>
|
||||||
|
|
||||||
|
/* Include NuttX-specific IRQ definitions */
|
||||||
|
|
||||||
|
#include <nuttx/irq.h>
|
||||||
|
|
||||||
/* Include ARM architecture-specific IRQ definitions (including register
|
/* Include ARM architecture-specific IRQ definitions (including register
|
||||||
* save structure and up_irq_save()/up_irq_restore() functions)
|
* save structure and up_irq_save()/up_irq_restore() functions)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue