Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118531
b: refs/heads/master
c: 1b48976
h: refs/heads/master
i:
  118529: 4444b24
  118527: 99e8964
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Nov 6, 2008
1 parent 7bda5a0 commit 6f60709
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c78d0cf2925bffae8a6f00e7d9b8e971b0392edd
refs/heads/master: 1b4897688011cd05e07f00dcfe6af3331eb36a3c
20 changes: 6 additions & 14 deletions trunk/arch/x86/include/asm/irq_vectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,30 +101,22 @@
#define LAST_VM86_IRQ 15
#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15)

#ifdef CONFIG_X86_64
#if defined(CONFIG_X86_IO_APIC) && !defined(CONFIG_PARAVIRT) && !defined(CONFIG_X86_VISWS) && !defined(CONFIG_X86_VOYAGER)
# if NR_CPUS < MAX_IO_APICS
# define NR_IRQS (NR_VECTORS + (32 * NR_CPUS))
# else
# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
# endif

#elif !defined(CONFIG_X86_VOYAGER)
#elif defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS) || defined(CONFIG_X86_VOYAGER)

# if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS)

# define NR_IRQS 224

# else /* IO_APIC || PARAVIRT */

# define NR_IRQS 16

# endif
# define NR_IRQS 224

#else /* !VISWS && !VOYAGER */
#else /* IO_APIC || PARAVIRT */

# define NR_IRQS 224
# define NR_IRQS 16

#endif /* VISWS */
#endif

/* Voyager specific defines */
/* These define the CPIs we use in linux */
Expand Down

0 comments on commit 6f60709

Please sign in to comment.