Kernel supports up to 64 IRQs

- enough for 2 io apics (usually with 24 pins)
This commit is contained in:
Tomas Hruby
2010-09-02 15:43:54 +00:00
parent 45badf4c05
commit 344e9221ec
3 changed files with 9 additions and 1 deletions

View File

@@ -57,7 +57,11 @@
* the maximum needed by any given driver. The number of interrupt hooks may
* be incremented on systems with many device drivers.
*/
#ifndef CONFIG_APIC
#define NR_IRQ_HOOKS 16 /* number of interrupt hooks */
#else
#define NR_IRQ_HOOKS 64 /* number of interrupt hooks */
#endif
#define VDEVIO_BUF_SIZE 64 /* max elements per VDEVIO request */
/* How many bytes for the kernel stack. Space allocated in mpx.s. */