Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175707
b: refs/heads/master
c: 551b81f
h: refs/heads/master
i:
  175705: 049846c
  175703: bac568c
v: v3
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed Oct 30, 2009
1 parent 2f9cc2e commit b558d10
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 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: d35ef90bf9e7cab9aa85e9c0724bd1ac6f784601
refs/heads/master: 551b81f26ffc2135b8490babad1a9ab12d617e8d
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ config IRQ_PER_CPU
bool
default y

config NR_IRQS
int "Number of virtual interrupt numbers"
range 32 512
default "512"
help
This defines the number of virtual interrupt numbers the kernel
can manage. Virtual interrupt numbers are what you see in
/proc/interrupts. If you configure your system to have too few,
drivers will fail to load or worse - handle with care.

config STACKTRACE_SUPPORT
bool
default y
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ extern atomic_t ppc_n_lost_interrupts;
*/
#define NO_IRQ_IGNORE ((unsigned int)-1)

/* Total number of virq in the platform (make it a CONFIG_* option ? */
#define NR_IRQS 512
/* Total number of virq in the platform */
#define NR_IRQS CONFIG_NR_IRQS

/* Number of irqs reserved for the legacy controller */
#define NUM_ISA_INTERRUPTS 16
Expand Down

0 comments on commit b558d10

Please sign in to comment.