[S390] Expose a constant for the number of words representing the CRs
We need to use this value in the checkpoint/restart code and would like to have a constant instead of a magic '3'. Cc: linux-s390@vger.kernel.org Signed-off-by: Dan Smith <danms@us.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
1fbc9f46a0
commit
eaf1b6fbca
@@ -1,10 +1,11 @@
|
||||
#ifndef _PTRACE32_H
|
||||
#define _PTRACE32_H
|
||||
|
||||
#include <asm/ptrace.h> /* needed for NUM_CR_WORDS */
|
||||
#include "compat_linux.h" /* needed for psw_compat_t */
|
||||
|
||||
typedef struct {
|
||||
__u32 cr[3];
|
||||
__u32 cr[NUM_CR_WORDS];
|
||||
} per_cr_words32;
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user