x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h

This is not the best location, but works for now.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56003
This commit is contained in:
Konstantin Belousov
2026-02-27 06:32:58 +02:00
parent f404109e90
commit 5f08cdc1fb
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -68,8 +68,6 @@
#define IMEN_MASK(ai) (IRQ_MASK((ai)->at_irq))
#define NUM_ISA_IRQS 16
static void atpic_init(void *dummy);
inthand_t
+2
View File
@@ -71,4 +71,6 @@
void atpic_handle_intr(u_int vector, struct trapframe *frame);
void atpic_startup(void);
#define NUM_ISA_IRQS 16
#endif /* !_X86_ISA_ICU_H_ */