[PATCH] arm64: remove dead-code depending on CONFIG_UP_LATE_INIT

2015-07-29 Thread Jonas Rabenstein
Commit 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs") removed UP_LATE_INIT from Kconfig, as it had !SMP as dependency and therfore can not be selected anymore. Remove dead #ifdef-block depending on UP_LATE_INIT in arch/arm64/kernel/setup.c Signed-off-by: Jonas Rabenstein

Re: [PATCH] arm64: remove dead code

2015-07-17 Thread Geoff Levand
Hi, On Fri, 2015-07-17 at 08:50 +0200, Ard Biesheuvel wrote: > > On 16 July 2015 at 19:58, Mark Salter wrote: > >> Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed > >> soft_reset() from the kernel. This was the only caller of > >> setup_mm_for_reboot(), so remove that also. > > > >

Re: [PATCH] arm64: remove dead code

2015-07-17 Thread Ard Biesheuvel
On 17 July 2015 at 11:45, Will Deacon wrote: > On Fri, Jul 17, 2015 at 07:50:30AM +0100, Ard Biesheuvel wrote: >> (use Geoff's correct email address) >> >> On 17 July 2015 at 08:49, Ard Biesheuvel wrote: >> > (adding Geoff and Takahiro) >> > >> > On 16 July 2015 at 19:58, Mark Salter wrote: >> >

Re: [PATCH] arm64: remove dead code

2015-07-17 Thread Will Deacon
On Fri, Jul 17, 2015 at 07:50:30AM +0100, Ard Biesheuvel wrote: > (use Geoff's correct email address) > > On 17 July 2015 at 08:49, Ard Biesheuvel wrote: > > (adding Geoff and Takahiro) > > > > On 16 July 2015 at 19:58, Mark Salter wrote: > >> Commit 68234df4ea79 ("arm64: kill flush_cache_all()"

Re: [PATCH] arm64: remove dead code

2015-07-16 Thread Ard Biesheuvel
(use Geoff's correct email address) On 17 July 2015 at 08:49, Ard Biesheuvel wrote: > (adding Geoff and Takahiro) > > On 16 July 2015 at 19:58, Mark Salter wrote: >> Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed >> soft_reset() from the kernel. This was the only caller of >> setu

Re: [PATCH] arm64: remove dead code

2015-07-16 Thread Ard Biesheuvel
(adding Geoff and Takahiro) On 16 July 2015 at 19:58, Mark Salter wrote: > Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed > soft_reset() from the kernel. This was the only caller of > setup_mm_for_reboot(), so remove that also. > I am wondering if setup_mm_for_reboot() is being us

[PATCH] arm64: remove dead code

2015-07-16 Thread Mark Salter
Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed soft_reset() from the kernel. This was the only caller of setup_mm_for_reboot(), so remove that also. Signed-off-by: Mark Salter --- arch/arm64/include/asm/mmu.h | 1 - arch/arm64/mm/mmu.c | 11 --- 2 files changed,