Patchwork sparc:remove unused declaration smp_boot_cpus()

login
register
mail settings
Submitter Kefeng Wang
Date March 27, 2013, 12:20 p.m.
Message ID <5152E41D.2030901@huawei.com>
Download mbox | patch
Permalink /patch/231675/
State Accepted
Delegated to: David Miller
Headers show

Comments

Kefeng Wang - March 27, 2013, 12:20 p.m.
smp_boot_cpus() was replaced smp_prepare_cpus() long ago, and it no
longer needed, so delete it.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 arch/sparc/include/asm/smp_32.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Sam Ravnborg - March 29, 2013, 11:09 a.m.
On Wed, Mar 27, 2013 at 08:20:45PM +0800, Kefeng Wang wrote:
> smp_boot_cpus() was replaced smp_prepare_cpus() long ago, and it no
> longer needed, so delete it.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>

But when looking at the same file it looks like we have
more candidates for removal:
smp4m_irq_rotate,
prof_multiplier,
prof_counter,

Care to send a follow-up patch that remvoe these also.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - March 31, 2013, 11:31 p.m.
From: Sam Ravnborg <sam@ravnborg.org>
Date: Fri, 29 Mar 2013 12:09:04 +0100

> On Wed, Mar 27, 2013 at 08:20:45PM +0800, Kefeng Wang wrote:
>> smp_boot_cpus() was replaced smp_prepare_cpus() long ago, and it no
>> longer needed, so delete it.
>> 
>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/include/asm/smp_32.h b/arch/sparc/include/asm/smp_32.h
index b73da3c..68503d3 100644
--- a/arch/sparc/include/asm/smp_32.h
+++ b/arch/sparc/include/asm/smp_32.h
@@ -46,7 +46,6 @@  void sun4m_init_smp(void);
 void sun4d_init_smp(void);

 void smp_callin(void);
-void smp_boot_cpus(void);
 void smp_store_cpu_info(int);

 void smp_resched_interrupt(void);