aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-11-28 11:20:53 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-11-28 11:33:15 -0500
commit9d0ca444d0b317d31acf6f8fc18ac6f478518924 (patch)
treeec8ecd7ab95a85ebd2aca9eb2177e1d1f74eb79a
parent345f8f34bb473241d62803951c18a844dd705f8d (diff)
s390/gs: add compat regset for the guarded storage broadcast control block
git commit e525f8a6e696210d15f8b8277d4da12fc4add299 "s390/gs: add regset for the guarded storage broadcast control block" added the missing regset to the s390_regsets array but failed to add it to the s390_compat_regsets array. Fixes: e525f8a6e696 ("add compat regset for the guarded storage broadcast control block") Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/ptrace.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c
index 26c0523c1488..cd3df5514552 100644
--- a/arch/s390/kernel/ptrace.c
+++ b/arch/s390/kernel/ptrace.c
@@ -1651,6 +1651,14 @@ static const struct user_regset s390_compat_regsets[] = {
1651 .set = s390_gs_cb_set, 1651 .set = s390_gs_cb_set,
1652 }, 1652 },
1653 { 1653 {
1654 .core_note_type = NT_S390_GS_BC,
1655 .n = sizeof(struct gs_cb) / sizeof(__u64),
1656 .size = sizeof(__u64),
1657 .align = sizeof(__u64),
1658 .get = s390_gs_bc_get,
1659 .set = s390_gs_bc_set,
1660 },
1661 {
1654 .core_note_type = NT_S390_RI_CB, 1662 .core_note_type = NT_S390_RI_CB,
1655 .n = sizeof(struct runtime_instr_cb) / sizeof(__u64), 1663 .n = sizeof(struct runtime_instr_cb) / sizeof(__u64),
1656 .size = sizeof(__u64), 1664 .size = sizeof(__u64),