Skip to contentSkip to conversation

kernel/power/smp.c: make a variable static

PATCH In review Adrian Bunk 2 participants 2 messages Mar 3, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/power/smp.c: make a variable static

This patch makes a needlessly global variable static.

kernel/power/smp.c renamed from kernel/power/smp.c.old +1 -1
@@ -42,7 +42,7 @@
 	__restore_processor_state(&ctxt);
 }
 
-cpumask_t oldmask;
+static cpumask_t oldmask;
 
 void disable_nonboot_cpus(void)
 {
#1 lore raw

Hi!

Quoted 3 lines

This patch makes a needlessly global variable static.

ACK
Pavel,
wondering if we have single Adrian or 1000 small gnomes going through code night and day.

Quoted 12 lines
kernel/power/smp.c renamed from kernel/power/smp.c.old +1 -1
@@ -42,7 +42,7 @@
 	__restore_processor_state(&ctxt);
 }
 
-cpumask_t oldmask;
+static cpumask_t oldmask;
 
 void disable_nonboot_cpus(void)
 {
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!