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

From: Pavel Machek
Date: Thu Mar 03 2005 - 17:19:46 EST


Hi!


> This patch makes a needlessly global variable static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

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


> --- 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)
> {
>

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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/