Re: [PATCH v2 1/8] RISC-V: Do not wait indefinitely in __cpu_up

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 06:35:39PM -0800, Atish Patra wrote: > On 1/15/19 5:51 AM, Christoph Hellwig wrote: > > > void *__cpu_up_stack_pointer[NR_CPUS]; > > > void *__cpu_up_task_pointer[NR_CPUS]; > > > +static DECLARE_COMPLETION(cpu_running); > > > void __init smp_prepare_boot_cpu(void) > >

Re: [PATCH v2 1/8] RISC-V: Do not wait indefinitely in __cpu_up

2019-01-17 Thread Atish Patra
On 1/15/19 5:51 AM, Christoph Hellwig wrote: void *__cpu_up_stack_pointer[NR_CPUS]; void *__cpu_up_task_pointer[NR_CPUS]; +static DECLARE_COMPLETION(cpu_running); void __init smp_prepare_boot_cpu(void) { @@ -81,6 +82,7 @@ void __init setup_smp(void) int __cpu_up(unsigned int c

Re: [PATCH v2 1/8] RISC-V: Do not wait indefinitely in __cpu_up

2019-01-15 Thread Christoph Hellwig
> > void *__cpu_up_stack_pointer[NR_CPUS]; > void *__cpu_up_task_pointer[NR_CPUS]; > +static DECLARE_COMPLETION(cpu_running); > > void __init smp_prepare_boot_cpu(void) > { > @@ -81,6 +82,7 @@ void __init setup_smp(void) > > int __cpu_up(unsigned int cpu, struct task_struct *tidle) > {