[2.6 patch] kernel/power/smp.c: make a variable static

From: Adrian Bunk
Date: Thu Mar 03 2005 - 17:02:14 EST


This patch makes a needlessly global variable static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc5-mm1-full/kernel/power/smp.c.old 2005-03-03 17:00:30.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/power/smp.c 2005-03-03 17:00:38.000000000 +0100
@@ -42,7 +42,7 @@
__restore_processor_state(&ctxt);
}

-cpumask_t oldmask;
+static cpumask_t oldmask;

void disable_nonboot_cpus(void)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/