[POWERPC] cell: spu management xmon routines

This fixes the xmon support for the cell spu to be compatable with the split
spu platform code.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
This commit is contained in:
Michael Ellerman 2006-11-23 00:46:50 +01:00 committed by Paul Mackerras
parent e28b003136
commit a985239bdf

View file

@ -2789,8 +2789,6 @@ static void dump_spu_fields(struct spu *spu)
DUMP_FIELD(spu, "0x%x", number); DUMP_FIELD(spu, "0x%x", number);
DUMP_FIELD(spu, "%s", name); DUMP_FIELD(spu, "%s", name);
DUMP_FIELD(spu, "%s", devnode->full_name);
DUMP_FIELD(spu, "0x%x", nid);
DUMP_FIELD(spu, "0x%lx", local_store_phys); DUMP_FIELD(spu, "0x%lx", local_store_phys);
DUMP_FIELD(spu, "0x%p", local_store); DUMP_FIELD(spu, "0x%p", local_store);
DUMP_FIELD(spu, "0x%lx", ls_size); DUMP_FIELD(spu, "0x%lx", ls_size);
@ -2817,14 +2815,8 @@ static void dump_spu_fields(struct spu *spu)
in_be32(&spu->problem->spu_status_R)); in_be32(&spu->problem->spu_status_R));
DUMP_VALUE("0x%x", problem->spu_npc_RW, DUMP_VALUE("0x%x", problem->spu_npc_RW,
in_be32(&spu->problem->spu_npc_RW)); in_be32(&spu->problem->spu_npc_RW));
DUMP_FIELD(spu, "0x%p", priv1);
if (spu->priv1) {
DUMP_VALUE("0x%lx", priv1->mfc_sr1_RW,
in_be64(&spu->priv1->mfc_sr1_RW));
}
DUMP_FIELD(spu, "0x%p", priv2); DUMP_FIELD(spu, "0x%p", priv2);
DUMP_FIELD(spu, "0x%p", pdata);
} }
int int