All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][linux-yocto] preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c
@ 2011-09-13 19:33 Darren Hart
  2011-09-14  4:46 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hart @ 2011-09-13 19:33 UTC (permalink / raw)
  To: Yocto Project

Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making
stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt
kernels.

Restore the move to non-static from commit
6857336c7fddaf460a13adc0c395698fcf9423ff.

Reported-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 kernel/stop_machine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index c54d0fa..d6b3ac2 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -150,8 +150,8 @@ void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
 	cpu_stop_queue_work(&per_cpu(cpu_stopper, cpu), work_buf);
 }
 
+DEFINE_MUTEX(stop_cpus_mutex);
 /* static data for stop_cpus */
-static DEFINE_MUTEX(stop_cpus_mutex);
 static DEFINE_MUTEX(stopper_lock);
 static DEFINE_PER_CPU(struct cpu_stop_work, stop_cpus_work);
 
-- 
1.7.6
-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH][linux-yocto] preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c
  2011-09-13 19:33 [PATCH][linux-yocto] preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Darren Hart
@ 2011-09-14  4:46 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2011-09-14  4:46 UTC (permalink / raw)
  To: Darren Hart; +Cc: Yocto Project

On 11-09-13 3:33 PM, Darren Hart wrote:
> Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making
> stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt
> kernels.
>
> Restore the move to non-static from commit
> 6857336c7fddaf460a13adc0c395698fcf9423ff.

Acked. I'm doing a kernel merge tomorrow, so this will be part of
that update.

Bruce

>
> Reported-by: Kishore Bodke<kishore.k.bodke@intel.com>
> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
> CC: Bruce Ashfield<bruce.ashfield@windriver.com>
> ---
>   kernel/stop_machine.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
> index c54d0fa..d6b3ac2 100644
> --- a/kernel/stop_machine.c
> +++ b/kernel/stop_machine.c
> @@ -150,8 +150,8 @@ void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
>   	cpu_stop_queue_work(&per_cpu(cpu_stopper, cpu), work_buf);
>   }
>
> +DEFINE_MUTEX(stop_cpus_mutex);
>   /* static data for stop_cpus */
> -static DEFINE_MUTEX(stop_cpus_mutex);
>   static DEFINE_MUTEX(stopper_lock);
>   static DEFINE_PER_CPU(struct cpu_stop_work, stop_cpus_work);
>



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

end of thread, other threads:[~2011-09-14  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 19:33 [PATCH][linux-yocto] preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Darren Hart
2011-09-14  4:46 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.