[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.22 v2 2/4] xen/ppc: introduce a dummy irq_to_desc()





On 6/29/26 11:45 AM, Roger Pau Monne wrote:
In preparation for irq_to_desc() being called by common IRQ code.
PowerPC doesn't have an irq_desc array defined, so it cannot use the
generic irq_to_desc macro in the common header.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
  xen/arch/ppc/include/asm/irq.h | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/xen/arch/ppc/include/asm/irq.h b/xen/arch/ppc/include/asm/irq.h
index 5c37d0cf2500..fa70fd7d46dc 100644
--- a/xen/arch/ppc/include/asm/irq.h
+++ b/xen/arch/ppc/include/asm/irq.h
@@ -30,4 +30,10 @@ static inline int platform_get_irq(const struct 
dt_device_node *device, int inde
      BUG_ON("unimplemented");
  }
+static inline void *irq_to_desc(unsigned int irq)
+{
+    BUG_ON("unimplemented");
+}
+#define irq_to_desc irq_to_desc
+
  #endif /* __ASM_PPC_IRQ_H__ */

Reviewed-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>

Thanks.

~ Oleksii



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.