aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-12-25 11:30:58 +0000
committerLinus Torvalds <[email protected]>2020-12-25 19:02:39 +0000
commit11cc92eb747aace5aa2b54b65b5cb8325a8981de (patch)
treed796d915216212d4f7421e30a0645d25be49d21b /net/switchdev/switchdev.c
parentMerge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadkernel-11cc92eb747aace5aa2b54b65b5cb8325a8981de.tar.gz
kernel-11cc92eb747aace5aa2b54b65b5cb8325a8981de.zip
genirq: Fix export of irq_to_desc() for powerpc KVM
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions