Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152814772
D56003.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
527 B
Referenced Files
None
Subscribers
None
D56003.id.diff
View Options
diff --git a/sys/x86/isa/atpic.c b/sys/x86/isa/atpic.c
--- 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
--- 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_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 7:17 AM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31705455
Default Alt Text
D56003.id.diff (527 B)
Attached To
Mode
D56003: x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h
Attached
Detach File
Event Timeline
Log In to Comment