powerpc: Add MSR[CE, DE] to the MSR bits we print on show_regs()
PATCH 1/1 powerpc: Add MSR[CE, DE] to the MSR bits we print on show_regs()
Signed-off-by Kumar Gala <[email protected]>
--- arch/powerpc/kernel/process.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/kernel/process.c +2 -0
@@ -467,6 +467,8 @@ static struct regbit { {MSR_VEC, "VEC"}, {MSR_VSX, "VSX"}, {MSR_ME, "ME"}, + {MSR_CE, "CE"}, + {MSR_DE, "DE"}, {MSR_IR, "IR"}, {MSR_DR, "DR"}, {0, NULL}
Signature · 1 line
1.5.6.5
Quoted 2 lines · Kumar Gala
Signed-off-by Kumar Gala <[email protected]>---
Shouldn't this be protected by some ifdef ?
Ben.
Quoted 16 lines
arch/powerpc/kernel/process.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/powerpc/kernel/process.c +2
-0@@ -467,6 +467,8 @@ static struct regbit { {MSR_VEC, "VEC"}, {MSR_VSX, "VSX"}, {MSR_ME, "ME"}, + {MSR_CE, "CE"}, + {MSR_DE, "DE"}, {MSR_IR, "IR"}, {MSR_DR, "DR"}, {0, NULL}
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 2 lines · Kumar Gala
Signed-off-by Kumar Gala <[email protected]>---
Shouldn't this be protected by some ifdef ?
Ben.
Quoted 3 lines
arch/powerpc/kernel/process.c| 2 ++1 files changed, 2 insertions(+), 0 deletions(-)
Quoted 13 lines
arch/powerpc/kernel/process.c static struct regbit { · line 474
Quoted 13 lines
arch/powerpc/kernel/process.c +2
-0@@ -467,6 +467,8 @@ static struct regbit { {MSR_VEC, "VEC"}, {MSR_VSX, "VSX"}, {MSR_ME, "ME"}, + {MSR_CE, "CE"}, + {MSR_DE, "DE"}, {MSR_IR, "IR"}, {MSR_DR, "DR"}, {0, NULL}
Why? The bits are always defined and don't seem to be reused (and we don't ifdef VEC, VSX, etc..) so why bother?
- k