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 |
---|---|---|
policy | ||
.gitignore | -rw-r--r-- | 71 bytes |
Kconfig | -rw-r--r-- | 3.3 KB |
Makefile | -rw-r--r-- | 810 bytes |
audit.c | -rw-r--r-- | 12.4 KB |
common.c | -rw-r--r-- | 76.0 KB |
common.h | -rw-r--r-- | 40.3 KB |
condition.c | -rw-r--r-- | 27.1 KB |
domain.c | -rw-r--r-- | 25.3 KB |
environ.c | -rw-r--r-- | 3.1 KB |
file.c | -rw-r--r-- | 29.1 KB |
gc.c | -rw-r--r-- | 16.6 KB |
group.c | -rw-r--r-- | 5.8 KB |
load_policy.c | -rw-r--r-- | 2.6 KB |
memory.c | -rw-r--r-- | 5.4 KB |
mount.c | -rw-r--r-- | 6.7 KB |
network.c | -rw-r--r-- | 21.4 KB |
realpath.c | -rw-r--r-- | 7.3 KB |
securityfs_if.c | -rw-r--r-- | 7.3 KB |
tomoyo.c | -rw-r--r-- | 15.6 KB |
util.c | -rw-r--r-- | 27.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...