x86: apic/io_apic.c dmar_msi_type should be static
Signed-off-by Jaswinder Singh Rajput <[email protected]>
--- arch/x86/kernel/apic/io_apic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/io_apic.c +1 -1
@@ -3538,7 +3538,7 @@ static int dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask)#endif /* CONFIG_SMP */ -struct irq_chip dmar_msi_type = { +static struct irq_chip dmar_msi_type = { .name ="DMAR_MSI" , .unmask = dmar_msi_unmask, .mask = dmar_msi_mask,
Signature · 1 line
1.6.0.6
PATCH 1/1 ia64: msi_ia64.c dmar_msi_type should be static
Signed-off-by Jaswinder Singh Rajput <[email protected]>
--- arch/ia64/kernel/msi_ia64.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/msi_ia64.c +1 -1
@@ -158,7 +158,7 @@ static int dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask) }#endif /* CONFIG_SMP */ -struct irq_chip dmar_msi_type = { +static struct irq_chip dmar_msi_type = { .name ="DMAR_MSI" , .unmask = dmar_msi_unmask, .mask = dmar_msi_mask,
Signature · 1 line
1.6.0.6
Hello Andrew,
If you want please also add this patch along with another dmar_msi_type static patch.
Thanks,
--
JSR
Quoted 18 lines · Jaswinder Singh Rajput
Signed-off-by Jaswinder Singh Rajput <[email protected]>--- arch/x86/kernel/apic/io_apic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/x86/kernel/apic/io_apic.c +1
-1@@ -3538,7 +3538,7 @@ static int dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask)#endif /* CONFIG_SMP */ -struct irq_chip dmar_msi_type = { +static struct irq_chip dmar_msi_type = { .name ="DMAR_MSI" , .unmask = dmar_msi_unmask, .mask = dmar_msi_mask,