[POWERPC] Uninline and export virq_to_hw() for the pasemi_mac driver
authorOlof Johansson <olof@lixom.net>
Mon, 4 Jun 2007 04:47:04 +0000 (14:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 2 Jul 2007 03:29:21 +0000 (13:29 +1000)
commit9f7905812e5919862acb6ede63e10d3d1bb4958e
tree8d0489c4a83888996843490d9ac0d85e471b7538
parentee5d1b7f2a01ce4d95ca247b5a499b72f31cdbe8
[POWERPC] Uninline and export virq_to_hw() for the pasemi_mac driver

Uninline virq_to_hw and export it so modules can use it. The alternative
would be to export the irq_map array instead, but it's an infrequently
called function, and keeping the array unexported seems considerably
cleaner.

This is needed so that the pasemi_mac driver can be compiled as a module.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c
include/asm-powerpc/irq.h