Browse Source

openrisc: use SPARSE_IRQ

The sparse IRQ framework is preferred nowadays so switch over to it.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Jonas Bonn 13 years ago
parent
commit
c0fcaf554e
2 changed files with 2 additions and 0 deletions
  1. 1 0
      arch/openrisc/Kconfig
  2. 1 0
      arch/openrisc/include/asm/Kbuild

+ 1 - 0
arch/openrisc/Kconfig

@@ -12,6 +12,7 @@ config OPENRISC
 	select HAVE_MEMBLOCK
 	select GPIOLIB
         select HAVE_ARCH_TRACEHOOK
+	select SPARSE_IRQ
 	select GENERIC_IRQ_CHIP
 	select GENERIC_IRQ_PROBE
 	select GENERIC_IRQ_SHOW

+ 1 - 0
arch/openrisc/include/asm/Kbuild

@@ -29,6 +29,7 @@ generic-y += hw_irq.h
 generic-y += ioctl.h
 generic-y += ioctls.h
 generic-y += ipcbuf.h
+generic-y += irq.h
 generic-y += irq_regs.h
 generic-y += irq_work.h
 generic-y += kdebug.h