summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authoranton@samba.org <anton@samba.org>2007-03-21 04:38:14 +0300
committerPaul Mackerras <paulus@samba.org>2007-03-26 06:34:31 +0400
commitae7f4463773dafac52d70c9803f283afe27ab1e3 (patch)
treed46a3fc10f70814a6a794221d80d791d18cb2b11 /arch/powerpc/kernel/traps.c
parent34c2a14fc20e4ab878fbf87e5f7fe1cff6afb3d4 (diff)
downloadlinux-ae7f4463773dafac52d70c9803f283afe27ab1e3.tar.xz
[POWERPC] Fix backwards ? : when printing machine type
Looks like someone got this backwards, highlighting the perils of the ? : !!! :) Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 55d221ffcf1e..f7862224fe85 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -153,7 +153,7 @@ int die(const char *str, struct pt_regs *regs, long err)
#ifdef CONFIG_NUMA
printk("NUMA ");
#endif
- printk("%s\n", ppc_md.name ? "" : ppc_md.name);
+ printk("%s\n", ppc_md.name ? ppc_md.name : "");
print_modules();
show_regs(regs);