#ifndef _HW_IRQ_H#define _HW_IRQ_H#include<linux/msi.h>#include<linux/pci.h>staticinlinestructmsi_desc*irq_get_msi_desc(unsignedintirq){return__irq_get_msi_desc(irq);}/* Must be called with msi map lock held */staticinlineintirq_set_msi_desc(unsignedintirq,structmsi_desc*msi){if(!msi)return-EINVAL;msi->irq=irq;return0;}#endif