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/signal_64.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/signal_64.c')
-rw-r--r-- | arch/powerpc/kernel/signal_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c index 27c4a4584f80..da989fff19cc 100644 --- a/arch/powerpc/kernel/signal_64.c +++ b/arch/powerpc/kernel/signal_64.c | |||
@@ -381,7 +381,7 @@ badframe: | |||
381 | regs, uc, &uc->uc_mcontext); | 381 | regs, uc, &uc->uc_mcontext); |
382 | #endif | 382 | #endif |
383 | if (show_unhandled_signals && printk_ratelimit()) | 383 | if (show_unhandled_signals && printk_ratelimit()) |
384 | printk(regs->msr & MSR_SF ? fmt64 : fmt32, | 384 | printk(regs->msr & MSR_64BIT ? fmt64 : fmt32, |
385 | current->comm, current->pid, "rt_sigreturn", | 385 | current->comm, current->pid, "rt_sigreturn", |
386 | (long)uc, regs->nip, regs->link); | 386 | (long)uc, regs->nip, regs->link); |
387 | 387 | ||
@@ -469,7 +469,7 @@ badframe: | |||
469 | regs, frame, newsp); | 469 | regs, frame, newsp); |
470 | #endif | 470 | #endif |
471 | if (show_unhandled_signals && printk_ratelimit()) | 471 | if (show_unhandled_signals && printk_ratelimit()) |
472 | printk(regs->msr & MSR_SF ? fmt64 : fmt32, | 472 | printk(regs->msr & MSR_64BIT ? fmt64 : fmt32, |
473 | current->comm, current->pid, "setup_rt_frame", | 473 | current->comm, current->pid, "setup_rt_frame", |
474 | (long)frame, regs->nip, regs->link); | 474 | (long)frame, regs->nip, regs->link); |
475 | 475 | ||