diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-06-28 07:05:04 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-06-28 07:11:55 -0400 |
commit | 25d539c9a958faf092bc1b8736ebc30b49faeebc (patch) | |
tree | b56aa7b78c4294816ee39d26991c9359fa6bd1c3 /arch/s390/include/uapi | |
parent | c3bdf2e11a10ea804d69a6d1ba1e8a061efb0fa8 (diff) |
s390/ptrace: clarify bits in the per_struct
The bits single_step and instruction_fetch lost their meaning
with git commit 5e9a26928f550157 "[S390] ptrace cleanup".
Clarify the comment for these two bits.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi')
-rw-r--r-- | arch/s390/include/uapi/asm/ptrace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/uapi/asm/ptrace.h b/arch/s390/include/uapi/asm/ptrace.h index a150f4fabe43..77630c74f13b 100644 --- a/arch/s390/include/uapi/asm/ptrace.h +++ b/arch/s390/include/uapi/asm/ptrace.h | |||
@@ -359,9 +359,9 @@ typedef struct | |||
359 | per_cr_bits bits; | 359 | per_cr_bits bits; |
360 | } control_regs; | 360 | } control_regs; |
361 | /* | 361 | /* |
362 | * Use these flags instead of setting em_instruction_fetch | 362 | * The single_step and instruction_fetch bits are obsolete, |
363 | * directly they are used so that single stepping can be | 363 | * the kernel always sets them to zero. To enable single |
364 | * switched on & off while not affecting other tracing | 364 | * stepping use ptrace(PTRACE_SINGLESTEP) instead. |
365 | */ | 365 | */ |
366 | unsigned single_step : 1; | 366 | unsigned single_step : 1; |
367 | unsigned instruction_fetch : 1; | 367 | unsigned instruction_fetch : 1; |