Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-22 Thread Stephen Rothwell
Hi Andrew, On Mon, 21 Dec 2015 22:59:45 -0800 Andrew Morton wrote: > > On Tue, 22 Dec 2015 11:30:51 +0530 Sudip Mukherjee > wrote: > > > > Rationale: > > > > > > stop_machine.o is only built when CONFIG_SMP=y so > > > > > > #if defined(CONFIG_SMP) || defined(CONFIG_HOTPLUG_CPU) > > > > >

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-22 Thread Stephen Rothwell
Hi Andrew, On Mon, 21 Dec 2015 22:59:45 -0800 Andrew Morton wrote: > > On Tue, 22 Dec 2015 11:30:51 +0530 Sudip Mukherjee > wrote: > > > > Rationale: > > > > > > stop_machine.o is only built when CONFIG_SMP=y so > > > > > > #if

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-21 Thread Andrew Morton
On Tue, 22 Dec 2015 11:30:51 +0530 Sudip Mukherjee wrote: > > Rationale: > > > > stop_machine.o is only built when CONFIG_SMP=y so > > > > #if defined(CONFIG_SMP) || defined(CONFIG_HOTPLUG_CPU) > > > > always evaluates to true, so remove it. > > Hi Andrew, > The error is still there. I

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-21 Thread Sudip Mukherjee
On Fri, Dec 18, 2015 at 03:07:53PM -0800, Andrew Morton wrote: > On Fri, 18 Dec 2015 15:35:55 +0530 Sudip Mukherjee > wrote: > > > This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. > > > > CONFIG_SMP dependency is needed for some arch like tile, tilegx and > > m32r. They use

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-21 Thread Sudip Mukherjee
On Fri, Dec 18, 2015 at 03:07:53PM -0800, Andrew Morton wrote: > On Fri, 18 Dec 2015 15:35:55 +0530 Sudip Mukherjee > wrote: > > > This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. > > > > CONFIG_SMP dependency is needed for some arch like tile, tilegx

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-21 Thread Andrew Morton
On Tue, 22 Dec 2015 11:30:51 +0530 Sudip Mukherjee wrote: > > Rationale: > > > > stop_machine.o is only built when CONFIG_SMP=y so > > > > #if defined(CONFIG_SMP) || defined(CONFIG_HOTPLUG_CPU) > > > > always evaluates to true, so remove it. > > Hi Andrew, > The

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 15:35:55 +0530 Sudip Mukherjee wrote: > This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. > > CONFIG_SMP dependency is needed for some arch like tile, tilegx and > m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a > result their builds are

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Chris Metcalf
On 12/18/2015 05:05 AM, Sudip Mukherjee wrote: This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. CONFIG_SMP dependency is needed for some arch like tile, tilegx and m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a result their builds are failing with "undefined

[PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Sudip Mukherjee
This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. CONFIG_SMP dependency is needed for some arch like tile, tilegx and m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a result their builds are failing with "undefined symbol 'stop_machine'". Cc: Chris Wilson Cc:

[PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Sudip Mukherjee
This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. CONFIG_SMP dependency is needed for some arch like tile, tilegx and m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a result their builds are failing with "undefined symbol 'stop_machine'". Cc: Chris Wilson

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Chris Metcalf
On 12/18/2015 05:05 AM, Sudip Mukherjee wrote: This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. CONFIG_SMP dependency is needed for some arch like tile, tilegx and m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a result their builds are failing with "undefined

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 15:35:55 +0530 Sudip Mukherjee wrote: > This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. > > CONFIG_SMP dependency is needed for some arch like tile, tilegx and > m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a