public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc:remove unused declaration smp_boot_cpus()
@ 2013-03-27 12:20 Kefeng Wang
  2013-03-29 11:09 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Kefeng Wang @ 2013-03-27 12:20 UTC (permalink / raw)
  To: davem; +Cc: sparclinux, linux-kernel

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(-)

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);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sparc:remove unused declaration smp_boot_cpus()
  2013-03-27 12:20 [PATCH] sparc:remove unused declaration smp_boot_cpus() Kefeng Wang
@ 2013-03-29 11:09 ` Sam Ravnborg
  2013-03-31 23:31   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2013-03-29 11:09 UTC (permalink / raw)
  To: Kefeng Wang; +Cc: davem, sparclinux, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sparc:remove unused declaration smp_boot_cpus()
  2013-03-29 11:09 ` Sam Ravnborg
@ 2013-03-31 23:31   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2013-03-31 23:31 UTC (permalink / raw)
  To: sam; +Cc: wangkefeng.wang, sparclinux, linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-31 23:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 12:20 [PATCH] sparc:remove unused declaration smp_boot_cpus() Kefeng Wang
2013-03-29 11:09 ` Sam Ravnborg
2013-03-31 23:31   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox