Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2026 02:17:10 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5002c46b75f1 - stable/15 - x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h
Message-ID:  <69cdd1a6.34710.c2b563e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=5002c46b75f1c5f508d55833f307173cd807cf81

commit 5002c46b75f1c5f508d55833f307173cd807cf81
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-27 04:32:58 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-02 02:13:50 +0000

    x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h
    
    (cherry picked from commit 5f08cdc1fb62d157b6086b3ea844287e81e3c45d)
---
 sys/x86/isa/atpic.c | 2 --
 sys/x86/isa/icu.h   | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/x86/isa/atpic.c b/sys/x86/isa/atpic.c
index 56566ef8d64d..0c884c5fc484 100644
--- a/sys/x86/isa/atpic.c
+++ b/sys/x86/isa/atpic.c
@@ -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
diff --git a/sys/x86/isa/icu.h b/sys/x86/isa/icu.h
index ae7303c0e36e..35734750b3b1 100644
--- a/sys/x86/isa/icu.h
+++ b/sys/x86/isa/icu.h
@@ -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_ */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cdd1a6.34710.c2b563e>