diff options
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 6457574c0b2f..ebe5766781aa 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -584,16 +584,32 @@ static struct regbit { | |||
584 | unsigned long bit; | 584 | unsigned long bit; |
585 | const char *name; | 585 | const char *name; |
586 | } msr_bits[] = { | 586 | } msr_bits[] = { |
587 | #if defined(CONFIG_PPC64) && !defined(CONFIG_BOOKE) | ||
588 | {MSR_SF, "SF"}, | ||
589 | {MSR_HV, "HV"}, | ||
590 | #endif | ||
591 | {MSR_VEC, "VEC"}, | ||
592 | {MSR_VSX, "VSX"}, | ||
593 | #ifdef CONFIG_BOOKE | ||
594 | {MSR_CE, "CE"}, | ||
595 | #endif | ||
587 | {MSR_EE, "EE"}, | 596 | {MSR_EE, "EE"}, |
588 | {MSR_PR, "PR"}, | 597 | {MSR_PR, "PR"}, |
589 | {MSR_FP, "FP"}, | 598 | {MSR_FP, "FP"}, |
590 | {MSR_VEC, "VEC"}, | ||
591 | {MSR_VSX, "VSX"}, | ||
592 | {MSR_ME, "ME"}, | 599 | {MSR_ME, "ME"}, |
593 | {MSR_CE, "CE"}, | 600 | #ifdef CONFIG_BOOKE |
594 | {MSR_DE, "DE"}, | 601 | {MSR_DE, "DE"}, |
602 | #else | ||
603 | {MSR_SE, "SE"}, | ||
604 | {MSR_BE, "BE"}, | ||
605 | #endif | ||
595 | {MSR_IR, "IR"}, | 606 | {MSR_IR, "IR"}, |
596 | {MSR_DR, "DR"}, | 607 | {MSR_DR, "DR"}, |
608 | {MSR_PMM, "PMM"}, | ||
609 | #ifndef CONFIG_BOOKE | ||
610 | {MSR_RI, "RI"}, | ||
611 | {MSR_LE, "LE"}, | ||
612 | #endif | ||
597 | {0, NULL} | 613 | {0, NULL} |
598 | }; | 614 | }; |
599 | 615 | ||