Skip to content

Commit

Permalink
powerpc: Remove stubbed beat smp support
Browse files Browse the repository at this point in the history
I have no idea if the beat hypervisor supports multiple cpus in
a partition, but the code has not been touched since these stubs
were added in February of 2007 except to move them in April of 2008.
These are stubs: start_cpu always returns fail (which is dropped),
the message passing and reciving are empty functions, and the top
of file comment says "Incomplete".

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Milton Miller authored and Benjamin Herrenschmidt committed May 19, 2011
1 parent a56555e commit d4fc8fe
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 131 deletions.
1 change: 0 additions & 1 deletion arch/powerpc/platforms/cell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ obj-y += celleb_setup.o \
beat_hvCall.o beat_interrupt.o \
beat_iommu.o

obj-$(CONFIG_SMP) += beat_smp.o
obj-$(CONFIG_PPC_UDBG_BEAT) += beat_udbg.o
obj-$(CONFIG_SERIAL_TXX9) += celleb_scc_sio.o
obj-$(CONFIG_SPU_BASE) += beat_spu_priv1.o
Expand Down
16 changes: 0 additions & 16 deletions arch/powerpc/platforms/cell/beat_interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,22 +257,6 @@ void __init beatic_init_IRQ(void)
irq_set_default_host(beatic_host);
}

#ifdef CONFIG_SMP

/* Nullified to compile with SMP mode */
void beatic_setup_cpu(int cpu)
{
}

void beatic_cause_IPI(int cpu, int mesg)
{
}

void beatic_request_IPIs(void)
{
}
#endif /* CONFIG_SMP */

void beatic_deinit_IRQ(void)
{
int i;
Expand Down
3 changes: 0 additions & 3 deletions arch/powerpc/platforms/cell/beat_interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

extern void beatic_init_IRQ(void);
extern unsigned int beatic_get_irq(void);
extern void beatic_cause_IPI(int cpu, int mesg);
extern void beatic_request_IPIs(void);
extern void beatic_setup_cpu(int);
extern void beatic_deinit_IRQ(void);

#endif
Expand Down
107 changes: 0 additions & 107 deletions arch/powerpc/platforms/cell/beat_smp.c

This file was deleted.

4 changes: 0 additions & 4 deletions arch/powerpc/platforms/cell/celleb_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ static void __init celleb_setup_arch_beat(void)
spu_management_ops = &spu_management_of_ops;
#endif

#ifdef CONFIG_SMP
smp_init_celleb();
#endif

celleb_setup_arch_common();
}

Expand Down

0 comments on commit d4fc8fe

Please sign in to comment.