* [PATCH 3/12] arch/hexagon: remove references to cpu_*_map.
@ 2012-02-15 4:58 Rusty Russell
2012-02-15 9:19 ` Srivatsa S. Bhat
2012-04-03 18:46 ` Richard Kuo
0 siblings, 2 replies; 4+ messages in thread
From: Rusty Russell @ 2012-02-15 4:58 UTC (permalink / raw)
To: Richard Kuo, linux-hexagon; +Cc: linux-kernel
From: Rusty Russell <rusty@rustcorp.com.au>
This has been obsolescent for a while; time for the final push.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: linux-hexagon@vger.kernel.org
---
arch/hexagon/kernel/smp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c
--- a/arch/hexagon/kernel/smp.c
+++ b/arch/hexagon/kernel/smp.c
@@ -36,7 +36,7 @@
#define BASE_IPI_IRQ 26
/*
- * cpu_possible_map needs to be filled out prior to setup_per_cpu_areas
+ * cpu_possible_mask needs to be filled out prior to setup_per_cpu_areas
* (which is prior to any of our smp_prepare_cpu crap), in order to set
* up the... per_cpu areas.
*/
@@ -211,7 +211,7 @@ int __cpuinit __cpu_up(unsigned int cpu)
stack_start = ((void *) thread) + THREAD_SIZE;
__vmstart(start_secondary, stack_start);
- while (!cpu_isset(cpu, cpu_online_map))
+ while (!cpu_online(cpu))
barrier();
return 0;
@@ -232,7 +232,7 @@ void __init smp_prepare_cpus(unsigned in
/* Right now, let's just fake it. */
for (i = 0; i < max_cpus; i++)
- cpu_set(i, cpu_present_map);
+ set_cpu_present(i, true);
/* Also need to register the interrupts for IPI */
if (max_cpus > 1)
@@ -272,5 +272,5 @@ void smp_start_cpus(void)
int i;
for (i = 0; i < NR_CPUS; i++)
- cpu_set(i, cpu_possible_map);
+ set_cpu_possible(i, true);
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/12] arch/hexagon: remove references to cpu_*_map.
2012-02-15 4:58 [PATCH 3/12] arch/hexagon: remove references to cpu_*_map Rusty Russell
@ 2012-02-15 9:19 ` Srivatsa S. Bhat
2012-04-03 18:46 ` Richard Kuo
1 sibling, 0 replies; 4+ messages in thread
From: Srivatsa S. Bhat @ 2012-02-15 9:19 UTC (permalink / raw)
To: Rusty Russell
Cc: Richard Kuo, linux-hexagon, linux-kernel, Venkatesh Pallipadi, akpm
On 02/15/2012 10:28 AM, Rusty Russell wrote:
> From: Rusty Russell <rusty@rustcorp.com.au>
>
> This has been obsolescent for a while; time for the final push.
>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> Cc: Richard Kuo <rkuo@codeaurora.org>
> Cc: linux-hexagon@vger.kernel.org
> ---
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Regards,
Srivatsa S. Bhat
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/12] arch/hexagon: remove references to cpu_*_map.
2012-02-15 4:58 [PATCH 3/12] arch/hexagon: remove references to cpu_*_map Rusty Russell
2012-02-15 9:19 ` Srivatsa S. Bhat
@ 2012-04-03 18:46 ` Richard Kuo
2012-04-03 21:02 ` Richard Kuo
1 sibling, 1 reply; 4+ messages in thread
From: Richard Kuo @ 2012-04-03 18:46 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-hexagon, linux-kernel
On Wed, Feb 15, 2012 at 03:28:04PM +1030, Rusty Russell wrote:
> From: Rusty Russell <rusty@rustcorp.com.au>
>
> This has been obsolescent for a while; time for the final push.
>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> Cc: Richard Kuo <rkuo@codeaurora.org>
> Cc: linux-hexagon@vger.kernel.org
> ---
> arch/hexagon/kernel/smp.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Did I ever send a Signed-off-by for this? I thought I did but I can't
find evidence of it. Just in case...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/12] arch/hexagon: remove references to cpu_*_map.
2012-04-03 18:46 ` Richard Kuo
@ 2012-04-03 21:02 ` Richard Kuo
0 siblings, 0 replies; 4+ messages in thread
From: Richard Kuo @ 2012-04-03 21:02 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-hexagon, linux-kernel
On Tue, Apr 03, 2012 at 01:46:08PM -0500, Richard Kuo wrote:
> On Wed, Feb 15, 2012 at 03:28:04PM +1030, Rusty Russell wrote:
> > From: Rusty Russell <rusty@rustcorp.com.au>
> >
> > This has been obsolescent for a while; time for the final push.
> >
> > Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> > Cc: Richard Kuo <rkuo@codeaurora.org>
> > Cc: linux-hexagon@vger.kernel.org
> > ---
> > arch/hexagon/kernel/smp.c | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
>
> Did I ever send a Signed-off-by for this? I thought I did but I can't
> find evidence of it. Just in case...
>
>
> Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
And, sorry about that, I really meant...
Acked-by: Richard Kuo <rkuo@codeaurora.org>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-03 21:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-15 4:58 [PATCH 3/12] arch/hexagon: remove references to cpu_*_map Rusty Russell
2012-02-15 9:19 ` Srivatsa S. Bhat
2012-04-03 18:46 ` Richard Kuo
2012-04-03 21:02 ` Richard Kuo
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.