Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116538
b: refs/heads/master
c: 7ef0c30
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Oct 16, 2008
1 parent f9dbc3a commit c897e56
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 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: 81608f3c254512b906ab78082ec5966b376aacd5
refs/heads/master: 7ef0c30dbf96a8d9a234e90c248eb19df3c031be
3 changes: 0 additions & 3 deletions trunk/arch/m68k/kernel/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
#include <asm/q40ints.h>
#endif

int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);

extern u32 auto_irqhandler_fixup[];
extern u32 user_irqhandler_fixup[];
extern u16 user_irqvec_fixup[];
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
#include <linux/proc_fs.h>
#include <linux/profile.h>

int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);

/*
* show_interrupts is needed by /proc/interrupts.
*/
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/sparc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@
#define SMP_NOP2
#define SMP_NOP3
#endif /* SMP */

int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);

unsigned long __raw_local_irq_save(void)
{
unsigned long retval;
Expand Down
8 changes: 5 additions & 3 deletions trunk/include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
#include <asm/ptrace.h>
#include <asm/system.h>

extern int nr_irqs;

#ifndef CONFIG_GENERIC_HARDIRQS
#define for_each_irq_desc(irq, desc) \
# define for_each_irq_desc(irq, desc) \
for (irq = 0; irq < nr_irqs; irq++)

# define nr_irqs NR_IRQS
#else
extern int nr_irqs;
#endif

/*
Expand Down

0 comments on commit c897e56

Please sign in to comment.