diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2011-04-07 17:56:03 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-27 00:18:44 -0400 |
commit | 9f0b079320ad1cc71ad7ea4e0ed0b64cd72bbd6d (patch) | |
tree | c6a47f3f33c48c82057deba0152ea2380aa5475b /arch/powerpc/kernel/traps.c | |
parent | 9d4a2925c290a053bb279e75e7a649069fdcaf6b (diff) |
powerpc: Use MSR_64BIT in places
Use the new MSR_64BIT in a few places. Some of these are already ifdef'ed
for BOOKE vs BOOKS, but it's still clearer, MSR_SF does not immediately
parse as "MSR bit for 64bit".
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index cb71cf29edea..4a6a109b6816 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -199,7 +199,7 @@ void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) | |||
199 | } else if (show_unhandled_signals && | 199 | } else if (show_unhandled_signals && |
200 | unhandled_signal(current, signr) && | 200 | unhandled_signal(current, signr) && |
201 | printk_ratelimit()) { | 201 | printk_ratelimit()) { |
202 | printk(regs->msr & MSR_SF ? fmt64 : fmt32, | 202 | printk(regs->msr & MSR_64BIT ? fmt64 : fmt32, |
203 | current->comm, current->pid, signr, | 203 | current->comm, current->pid, signr, |
204 | addr, regs->nip, regs->link, code); | 204 | addr, regs->nip, regs->link, code); |
205 | } | 205 | } |