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 |
---|---|---|
boot | ||
configs | ||
crypto | ||
entry | ||
events | ||
hyperv | ||
ia32 | ||
include | ||
kernel | ||
kvm | ||
lib | ||
math-emu | ||
mm | ||
net | ||
oprofile | ||
pci | ||
platform | ||
power | ||
purgatory | ||
ras | ||
realmode | ||
tools | ||
um | ||
video | ||
xen | ||
.gitignore | -rw-r--r-- | 177 bytes |
Kbuild | -rw-r--r-- | 476 bytes |
Kconfig | -rw-r--r-- | 94.6 KB |
Kconfig.assembler | -rw-r--r-- | 658 bytes |
Kconfig.cpu | -rw-r--r-- | 16.2 KB |
Kconfig.debug | -rw-r--r-- | 8.9 KB |
Makefile | -rw-r--r-- | 10.0 KB |
Makefile.um | -rw-r--r-- | 1.1 KB |
Makefile_32.cpu | -rw-r--r-- | 2.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...