[PATCH 5/16] cell: spu management xmon routines
From: Geoff Levand <hidden>
Date: 2006-11-17 03:42:26
This fixes the xmon support to be compatable with the split spu platform code. Signed-off-by: Geoff Levand <redacted> --- Michael, I split this out so we can discuss it if needed. -Geoff arch/powerpc/xmon/xmon.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) Index: cell--common--6/arch/powerpc/xmon/xmon.c ===================================================================
--- cell--common--6.orig/arch/powerpc/xmon/xmon.c
+++ cell--common--6/arch/powerpc/xmon/xmon.c@@ -2769,8 +2769,6 @@ DUMP_FIELD(spu, "0x%x", number); 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%p", local_store); DUMP_FIELD(spu, "0x%lx", ls_size);
@@ -2794,12 +2792,8 @@ DUMP_FIELD(spu, "0x%x", problem->spu_runcntl_RW); DUMP_FIELD(spu, "0x%x", problem->spu_status_R); DUMP_FIELD(spu, "0x%x", problem->spu_npc_RW); - DUMP_FIELD(spu, "0x%p", priv1); - - if (spu->priv1) - DUMP_FIELD(spu, "0x%lx", priv1->mfc_sr1_RW); - DUMP_FIELD(spu, "0x%p", priv2); + DUMP_FIELD(spu, "0x%p", pdata); } static int do_spu_cmd(void)