public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386 io_apic.c: make two variables static
@ 2005-01-16  8:06 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-16  8:06 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

The aptch below makes two needlessly global variables static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-rc1-mm1-full/arch/i386/kernel/io_apic.c.old	2005-01-16 04:38:36.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/arch/i386/kernel/io_apic.c	2005-01-16 04:38:57.000000000 +0100
@@ -264,7 +264,7 @@
 static int irqbalance_disabled = IRQBALANCE_CHECK_ARCH;
 static int physical_balance = 0;
 
-struct irq_cpu_info {
+static struct irq_cpu_info {
 	unsigned long * last_irq;
 	unsigned long * irq_delta;
 	unsigned long irq;
@@ -286,7 +286,7 @@
 #define BALANCED_IRQ_MORE_DELTA		(HZ/10)
 #define BALANCED_IRQ_LESS_DELTA		(HZ)
 
-long balanced_irq_interval = MAX_BALANCED_IRQ_INTERVAL;
+static long balanced_irq_interval = MAX_BALANCED_IRQ_INTERVAL;
 
 static unsigned long move(int curr_cpu, cpumask_t allowed_mask,
 			unsigned long now, int direction)


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] i386 io_apic.c: make two variables static
@ 2005-02-11 18:54 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-11 18:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: mingo, linux-kernel

This patch makes two needlessly global variables static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 16 Jan 2005

--- linux-2.6.11-rc1-mm1-full/arch/i386/kernel/io_apic.c.old	2005-01-16 04:38:36.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/arch/i386/kernel/io_apic.c	2005-01-16 04:38:57.000000000 +0100
@@ -264,7 +264,7 @@
 static int irqbalance_disabled = IRQBALANCE_CHECK_ARCH;
 static int physical_balance = 0;
 
-struct irq_cpu_info {
+static struct irq_cpu_info {
 	unsigned long * last_irq;
 	unsigned long * irq_delta;
 	unsigned long irq;
@@ -286,7 +286,7 @@
 #define BALANCED_IRQ_MORE_DELTA		(HZ/10)
 #define BALANCED_IRQ_LESS_DELTA		(HZ)
 
-long balanced_irq_interval = MAX_BALANCED_IRQ_INTERVAL;
+static long balanced_irq_interval = MAX_BALANCED_IRQ_INTERVAL;
 
 static unsigned long move(int curr_cpu, cpumask_t allowed_mask,
 			unsigned long now, int direction)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-11 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16  8:06 [2.6 patch] i386 io_apic.c: make two variables static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11 18:54 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox