Bladeren bron

parisc: kill __do_IRQ

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Kyle McMartin 14 jaren geleden
bovenliggende
commit
7da1272547
3 gewijzigde bestanden met toevoegingen van 4 en 7 verwijderingen
  1. 4 0
      arch/parisc/Kconfig
  2. 0 3
      arch/parisc/include/asm/irq.h
  3. 0 4
      arch/parisc/kernel/irq.c

+ 4 - 0
arch/parisc/Kconfig

@@ -18,6 +18,7 @@ config PARISC
 	select BUG
 	select HAVE_PERF_EVENTS
 	select GENERIC_ATOMIC64 if !64BIT
+	select GENERIC_HARDIRQS_NO__DO_IRQ
 	help
 	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
 	  in many of their workstations & servers (HP9000 700 and 800 series,
@@ -84,6 +85,9 @@ config IRQ_PER_CPU
 	bool
 	default y
 
+config GENERIC_HARDIRQS_NO__DO_IRQ
+	def_bool y
+
 # unless you want to implement ACPI on PA-RISC ... ;-)
 config PM
 	bool

+ 0 - 3
arch/parisc/include/asm/irq.h

@@ -32,9 +32,6 @@ static __inline__ int irq_canonicalize(int irq)
 }
 
 struct irq_chip;
-struct irq_desc;
-
-extern void parisc_do_IRQ(unsigned int irq, struct irq_desc *desc);
 
 /*
  * Some useful "we don't have to do anything here" handlers.  Should

+ 0 - 4
arch/parisc/kernel/irq.c

@@ -418,7 +418,3 @@ void __init init_IRQ(void)
 
 }
 
-void parisc_do_IRQ(unsigned int irq, struct irq_desc *desc)
-{
-	__do_IRQ(irq);
-}