Revert "genirq: Restrict export of irq_to_desc()"
This reverts commit64a1b95bb9and commit11cc92eb74. Commit64a1b95bb9("genirq: Restrict export of irq_to_desc()") removed the export of irq_to_desc() and commit11cc92eb74("genirq: Fix export of irq_to_desc() for powerpc KVM") added it back with the powerpc KVM limitation. But there's still some usage in GKI kernel modules, so revert both two commits. Bug: 199823932 Signed-off-by: Huang Yiwei <hyiwei@codeaurora.org> Change-Id: I3f871ecb5bc002c8643b4ddd3137a6899ac77b4f
This commit is contained in:
@@ -352,9 +352,7 @@ struct irq_desc *irq_to_desc(unsigned int irq)
|
||||
{
|
||||
return radix_tree_lookup(&irq_desc_tree, irq);
|
||||
}
|
||||
#ifdef CONFIG_KVM_BOOK3S_64_HV_MODULE
|
||||
EXPORT_SYMBOL_GPL(irq_to_desc);
|
||||
#endif
|
||||
EXPORT_SYMBOL(irq_to_desc);
|
||||
|
||||
static void delete_irq_desc(unsigned int irq)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user