No more (ab)use in drivers finally. There is still the modular build of PPC/KVM which needs it, so restrict it to this case which still makes it unavailable for most drivers.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -352,7 +352,9 @@ struct irq_desc *irq_to_desc(unsigned int irq) · 351 unmodified lines | ||
| 352 | 352 | { |
| 353 | 353 | return radix_tree_lookup(&irq_desc_tree, irq); |
| 354 | 354 | } |
| 355 | −EXPORT_SYMBOL(irq_to_desc); | |
| 355 | +#ifdef CONFIG_KVM_BOOK3S_64_HV | |
| 356 | +EXPORT_SYMBOL_GPL(irq_to_desc); | |
| 357 | +#endif | |
| 356 | 358 | |
| 357 | 359 | static void delete_irq_desc(unsigned int irq) |
| 358 | 360 | { |