linux/arch/s390/include/asm/hw_irq.h
<<
>>
Prefs
   1#ifndef _HW_IRQ_H
   2#define _HW_IRQ_H
   3
   4#include <linux/msi.h>
   5#include <linux/pci.h>
   6
   7static inline struct msi_desc *irq_get_msi_desc(unsigned int irq)
   8{
   9        return __irq_get_msi_desc(irq);
  10}
  11
  12/* Must be called with msi map lock held */
  13static inline int irq_set_msi_desc(unsigned int irq, struct msi_desc *msi)
  14{
  15        if (!msi)
  16                return -EINVAL;
  17
  18        msi->irq = irq;
  19        return 0;
  20}
  21
  22#endif
  23