Skip to contentSkip to conversation

x86: apic/io_apic.c dmar_msi_type should be static

PATCH-tip New Jaswinder Singh Rajput 1 participant 3 messages May 13, 2009 – May 28, 2009 x86

lore
Share & tools
lore
#0 lore raw
---
 arch/x86/kernel/apic/io_apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/io_apic.c +1 -1
index 0a3f3ab..f3e16ad 100644
@@ -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
#1 lore raw

PATCH 1/1 ia64: msi_ia64.c dmar_msi_type should be static

---
 arch/ia64/kernel/msi_ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/msi_ia64.c +1 -1
index 0f8ade9..6c89228 100644
@@ -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
#2 lore raw
In reply to Jaswinder Singh Rajput

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
---
 arch/x86/kernel/apic/io_apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/io_apic.c +1 -1
index 0a3f3ab..f3e16ad 100644
@@ -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,