Skip to content

Commit

Permalink
[ARM] give RiscPC a NR_IRQS definition and remove default
Browse files Browse the repository at this point in the history
RiscPC is the only platform using the default setting for NR_IRQS,
so the default NR_IRQS doesn't really make sense; remove it and
make RiscPC provide such a definition.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 29, 2008
1 parent 87c5257 commit 7577fdf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
#define irq_canonicalize(i) (i)
#endif

#ifndef NR_IRQS
#define NR_IRQS 128
#endif

/*
* Use this value to indicate lack of interrupt
* capability
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-rpc/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@

#define IRQ_TIMER IRQ_TIMER0

#define NR_IRQS 128

0 comments on commit 7577fdf

Please sign in to comment.