[PATCH] Fix NR_IRQS when no IO apic
authorBrian Gerst <bgerst@didntduck.org>
Fri, 15 Mar 2002 07:15:55 +0000 (23:15 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 15 Mar 2002 07:15:55 +0000 (23:15 -0800)
commitbe5fc736d7470ee9c7d1f6e5cd245c1279404f1e
tree21816674fa1564bb858af770801cb8a6d52a73a1
parenta0816e182d213bbfa1288567f5c41e190ca07724
[PATCH] Fix NR_IRQS when no IO apic

NR_IRQS should be 16 when the IO apic is not configured, as the 8259 PIC
cannot generate any more interrupts.  It also fixes a bug where the IDT
gets populated with random addresses, since only 16 entry stubs are
created.
include/asm-i386/irq.h