* [2.6 patch] kernel/power/smp.c: make a variable static
@ 2005-03-03 21:48 Adrian Bunk
2005-03-03 22:06 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2005-03-03 21:48 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
This patch makes a needlessly global variable static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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)
{
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [2.6 patch] kernel/power/smp.c: make a variable static
2005-03-03 21:48 [2.6 patch] kernel/power/smp.c: make a variable static Adrian Bunk
@ 2005-03-03 22:06 ` Pavel Machek
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2005-03-03 22:06 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
Hi!
> This patch makes a needlessly global variable static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] kernel/power/smp.c: make a variable static
@ 2005-03-09 1:44 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-03-09 1:44 UTC (permalink / raw)
To: Andrew Morton; +Cc: Pavel Machek, linux-kernel
This patch makes a needlessly global variable static.
This patch was already ACK'ed by Pavel Machek.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 3 Mar 2005
--- 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)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-09 1:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 21:48 [2.6 patch] kernel/power/smp.c: make a variable static Adrian Bunk
2005-03-03 22:06 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2005-03-09 1:44 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox