linux/kernel/irq
Michael Ellerman 11cc92eb74 genirq: Fix export of irq_to_desc() for powerpc KVM
Commit 64a1b95bb9 ("genirq: Restrict export of irq_to_desc()") removed
the export of irq_to_desc() unless powerpc KVM is being built, because
there is still a use of irq_to_desc() in modular code there.

However it used:

  #ifdef CONFIG_KVM_BOOK3S_64_HV

Which doesn't work when that symbol is =m, leading to a build failure:

  ERROR: modpost: "irq_to_desc" [arch/powerpc/kvm/kvm-hv.ko] undefined!

Fix it by checking for the definedness of the correct symbol which is
CONFIG_KVM_BOOK3S_64_HV_MODULE.

Fixes: 64a1b95bb9 ("genirq: Restrict export of irq_to_desc()")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-25 11:02:39 -08:00
..
affinity.c
autoprobe.c
chip.c irqchip updates for Linux 5.11 2020-12-15 10:48:07 +01:00
cpuhotplug.c
debug.h
debugfs.c
devres.c
dummychip.c
generic-chip.c genirq: Fix kernel-doc markups 2020-11-16 15:20:54 +01:00
handle.c
internals.h
ipi.c
irq_sim.c
irqdesc.c genirq: Fix export of irq_to_desc() for powerpc KVM 2020-12-25 11:02:39 -08:00
irqdomain.c Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
Kconfig irqchip updates for Linux 5.11 2020-12-15 10:48:07 +01:00
Makefile
manage.c genirq: Move status flag checks to core 2020-12-15 16:19:30 +01:00
matrix.c
migration.c
msi.c
pm.c
proc.c genirq: Annotate irq stats data races 2020-12-15 16:19:30 +01:00
resend.c
settings.h
spurious.c
timings.c