summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
authorSuzuki Poulose <suzuki@in.ibm.com>2013-08-27 13:22:14 +0530
committerScott Wood <scottwood@freescale.com>2013-10-28 21:11:16 -0500
commita0b38b4e7858c76e7e53510f24d6bf22cab144a8 (patch)
treeca9a6e6dce9dccfbc26e992f8741f95460cd356c /arch/powerpc/kernel/ptrace.c
parentf4b123886d2cdd196a0e3482de48d921443790c7 (diff)
downloadlinux-a0b38b4e7858c76e7e53510f24d6bf22cab144a8.tar.bz2
powerpc: Set the NOTE type for SPE regset
The regset defintion for SPE doesn't have the core_note_type set, which prevents it from being dumped. Add the note type NT_PPC_SPE for SPE regset. Signed-off-by: Suzuki K Poulose <suzuki@in.ibm.com> Cc: Roland McGrath <roland@hack.frob.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
-rw-r--r--arch/powerpc/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 01be88b7321e..75fb40498b41 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -658,7 +658,7 @@ static const struct user_regset native_regsets[] = {
#endif
#ifdef CONFIG_SPE
[REGSET_SPE] = {
- .n = 35,
+ .core_note_type = NT_PPC_SPE, .n = 35,
.size = sizeof(u32), .align = sizeof(u32),
.active = evr_active, .get = evr_get, .set = evr_set
},