aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authoranton@samba.org <anton@samba.org>2007-03-20 21:38:14 -0400
committerPaul Mackerras <paulus@samba.org>2007-03-25 22:34:31 -0400
commitae7f4463773dafac52d70c9803f283afe27ab1e3 (patch)
treed46a3fc10f70814a6a794221d80d791d18cb2b11 /arch/powerpc/kernel/traps.c
parent34c2a14fc20e4ab878fbf87e5f7fe1cff6afb3d4 (diff)
[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)
153#ifdef CONFIG_NUMA 153#ifdef CONFIG_NUMA
154 printk("NUMA "); 154 printk("NUMA ");
155#endif 155#endif
156 printk("%s\n", ppc_md.name ? "" : ppc_md.name); 156 printk("%s\n", ppc_md.name ? ppc_md.name : "");
157 157
158 print_modules(); 158 print_modules();
159 show_regs(regs); 159 show_regs(regs);