Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275397
b: refs/heads/master
c: a03010e
h: refs/heads/master
i:
  275395: d946aa0
v: v3
  • Loading branch information
Geert Uytterhoeven committed Nov 8, 2011
1 parent 2b44a22 commit 33b80d5
Show file tree
Hide file tree
Showing 4 changed files with 10 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: dda7535912255015ecf7264c1d6691a09f8ba487
refs/heads/master: a03010ed9b399fdbc28ac8836e0a6d4b15403f9f
1 change: 0 additions & 1 deletion trunk/arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ config MMU_SUN3
config USE_GENERIC_HARDIRQS
bool "Use genirq"
depends on MMU
depends on !Q40
select HAVE_GENERIC_HARDIRQS
select GENERIC_IRQ_SHOW

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/q40ints.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@
#define Q40_IRQ14_MASK (1<<6)
#define Q40_IRQ15_MASK (1<<7)

#ifndef CONFIG_GENERIC_HARDIRQS
extern unsigned long q40_probe_irq_on (void);
extern int q40_probe_irq_off (unsigned long irqs);
#endif
8 changes: 7 additions & 1 deletion trunk/arch/m68k/q40/q40ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#ifdef CONFIG_GENERIC_HARDIRQS
#include <linux/irq.h>
#else
#include <asm/irq.h>
#endif

#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/irq.h>
#include <asm/traps.h>

#include <asm/q40_master.h>
Expand Down Expand Up @@ -326,6 +330,7 @@ void q40_irq_disable(struct irq_data *data)
}
}

#ifndef CONFIG_GENERIC_HARDIRQS
unsigned long q40_probe_irq_on(void)
{
printk("irq probing not working - reconfigure the driver to avoid this\n");
Expand All @@ -335,3 +340,4 @@ int q40_probe_irq_off(unsigned long irqs)
{
return -1;
}
#endif

0 comments on commit 33b80d5

Please sign in to comment.