mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
dmar: Convert to new irq chip functions
Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Acked-by: David Woodhouse <[email protected]>
This commit is contained in:
parent
d0fbca8f93
commit
5c2837fbaa
4 changed files with 11 additions and 10 deletions
|
|
@ -1221,9 +1221,9 @@ const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type)
|
|||
}
|
||||
}
|
||||
|
||||
void dmar_msi_unmask(unsigned int irq)
|
||||
void dmar_msi_unmask(struct irq_data *data)
|
||||
{
|
||||
struct intel_iommu *iommu = get_irq_data(irq);
|
||||
struct intel_iommu *iommu = irq_data_get_irq_data(data);
|
||||
unsigned long flag;
|
||||
|
||||
/* unmask it */
|
||||
|
|
@ -1234,10 +1234,10 @@ void dmar_msi_unmask(unsigned int irq)
|
|||
spin_unlock_irqrestore(&iommu->register_lock, flag);
|
||||
}
|
||||
|
||||
void dmar_msi_mask(unsigned int irq)
|
||||
void dmar_msi_mask(struct irq_data *data)
|
||||
{
|
||||
unsigned long flag;
|
||||
struct intel_iommu *iommu = get_irq_data(irq);
|
||||
struct intel_iommu *iommu = irq_data_get_irq_data(data);
|
||||
|
||||
/* mask it */
|
||||
spin_lock_irqsave(&iommu->register_lock, flag);
|
||||
|
|
|
|||
Loading…
Reference in a new issue