Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136672
b: refs/heads/master
c: 3e92ab3
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 31, 2009
1 parent 74e4fd1 commit 0c074d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 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: ed74ca6d5a3e57eb0969d4e14e46cf9f88d25d3f
refs/heads/master: 3e92ab3d7e2edef5dccd8b0db21528699c81d2c0
14 changes: 3 additions & 11 deletions trunk/arch/x86/include/asm/irq_vectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

#define NR_IRQS_LEGACY 16

#if defined(CONFIG_X86_IO_APIC) && !defined(CONFIG_X86_VOYAGER)
#ifdef CONFIG_X86_IO_APIC

#include <asm/apicnum.h> /* need MAX_IO_APICS */

Expand All @@ -117,22 +117,14 @@
# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
# endif
#else

# define NR_IRQS \
((8 * NR_CPUS) > (32 * MAX_IO_APICS) ? \
(NR_VECTORS + (8 * NR_CPUS)) : \
(NR_VECTORS + (32 * MAX_IO_APICS))) \

(NR_VECTORS + (32 * MAX_IO_APICS)))
#endif

#elif defined(CONFIG_X86_VOYAGER)

# define NR_IRQS 224

#else /* IO_APIC || VOYAGER */

#else /* !CONFIG_X86_IO_APIC: */
# define NR_IRQS 16

#endif

#endif /* _ASM_X86_IRQ_VECTORS_H */

0 comments on commit 0c074d4

Please sign in to comment.