summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2006-11-27 19:18:55 +0100
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:41:12 +1100
commite055595d3e5f5233374211bc6893e5d16976df99 (patch)
tree2694e83df4035fb4a17276d605ba507d50ffcc05 /include
parentda06aa08d9f23e4f970d9a25a6e52f9a7736bfa2 (diff)
[POWERPC] cell: fix building without spufs
It may be desireable to build a kernel for cell without spufs, e.g. as the initial kboot kernel. This requires that the SPU specific parts of the core dump and the xmon code depend on CONFIG_SPU_BASE instead of CONFIG_PPC_CELL. Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h
index 4545aa682509..b5436642a109 100644
--- a/include/asm-powerpc/elf.h
+++ b/include/asm-powerpc/elf.h
@@ -411,7 +411,7 @@ do { \
/* Keep this the last entry. */
#define R_PPC64_NUM 107
-#ifdef CONFIG_PPC_CELL
+#ifdef CONFIG_SPU_BASE
/* Notes used in ET_CORE. Note name is "SPU/<fd>/<filename>". */
#define NT_SPU 1