]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1d153053282b1c7e627048d753613ee5d1262148
tree8d0489c4a83888996843490d9ac0d85e471b7538
parentd96fe8b19270df7de525649ada65baa627379280
[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