aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/xmon/Makefile2
-rw-r--r--arch/powerpc/xmon/xmon.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/xmon/Makefile b/arch/powerpc/xmon/Makefile
index 69303575d3d6..51d97588e762 100644
--- a/arch/powerpc/xmon/Makefile
+++ b/arch/powerpc/xmon/Makefile
@@ -8,5 +8,5 @@ obj-y += xmon.o setjmp.o start.o nonstdio.o
8 8
9ifdef CONFIG_XMON_DISASSEMBLY 9ifdef CONFIG_XMON_DISASSEMBLY
10obj-y += ppc-dis.o ppc-opc.o 10obj-y += ppc-dis.o ppc-opc.o
11obj-$(CONFIG_PPC_CELL) += spu-dis.o spu-opc.o 11obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
12endif 12endif
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 1cf90c8ac34a..dc8a3760a98c 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -213,7 +213,7 @@ Commands:\n\
213 p call a procedure\n\ 213 p call a procedure\n\
214 r print registers\n\ 214 r print registers\n\
215 s single step\n" 215 s single step\n"
216#ifdef CONFIG_PPC_CELL 216#ifdef CONFIG_SPU_BASE
217" ss stop execution on all spus\n\ 217" ss stop execution on all spus\n\
218 sr restore execution on stopped spus\n\ 218 sr restore execution on stopped spus\n\
219 sf # dump spu fields for spu # (in hex)\n\ 219 sf # dump spu fields for spu # (in hex)\n\
@@ -2654,7 +2654,7 @@ void __init xmon_setup(void)
2654 debugger(NULL); 2654 debugger(NULL);
2655} 2655}
2656 2656
2657#ifdef CONFIG_PPC_CELL 2657#ifdef CONFIG_SPU_BASE
2658 2658
2659struct spu_info { 2659struct spu_info {
2660 struct spu *spu; 2660 struct spu *spu;
@@ -2907,7 +2907,7 @@ static int do_spu_cmd(void)
2907 2907
2908 return 0; 2908 return 0;
2909} 2909}
2910#else /* ! CONFIG_PPC_CELL */ 2910#else /* ! CONFIG_SPU_BASE */
2911static int do_spu_cmd(void) 2911static int do_spu_cmd(void)
2912{ 2912{
2913 return -1; 2913 return -1;