Revision 11cc92eb747aace5aa2b54b65b5cb8325a8981de authored by Michael Ellerman on 25 December 2020, 11:30:58 UTC, committed by Linus Torvalds on 25 December 2020, 19:02:39 UTC
Commit 64a1b95bb9fe ("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: 64a1b95bb9fe ("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>
1 parent 7bb5226
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 720 bytes |
acpi.c | -rw-r--r-- | 11.0 KB |
amd_bus.c | -rw-r--r-- | 9.6 KB |
broadcom_bus.c | -rw-r--r-- | 3.1 KB |
bus_numa.c | -rw-r--r-- | 3.1 KB |
bus_numa.h | -rw-r--r-- | 704 bytes |
ce4100.c | -rw-r--r-- | 9.4 KB |
common.c | -rw-r--r-- | 17.1 KB |
direct.c | -rw-r--r-- | 6.4 KB |
early.c | -rw-r--r-- | 1.4 KB |
fixup.c | -rw-r--r-- | 25.9 KB |
i386.c | -rw-r--r-- | 10.8 KB |
init.c | -rw-r--r-- | 1003 bytes |
intel_mid_pci.c | -rw-r--r-- | 10.6 KB |
irq.c | -rw-r--r-- | 33.1 KB |
legacy.c | -rw-r--r-- | 1.6 KB |
mmconfig-shared.c | -rw-r--r-- | 19.3 KB |
mmconfig_32.c | -rw-r--r-- | 3.4 KB |
mmconfig_64.c | -rw-r--r-- | 3.2 KB |
numachip.c | -rw-r--r-- | 2.8 KB |
olpc.c | -rw-r--r-- | 9.2 KB |
pcbios.c | -rw-r--r-- | 10.3 KB |
sta2x11-fixup.c | -rw-r--r-- | 6.6 KB |
xen.c | -rw-r--r-- | 16.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...