diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/sysdep-i386/ptrace.h | 2 | ||||
-rw-r--r-- | arch/um/include/sysdep-x86_64/ptrace.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/sysdep-i386/ptrace.h b/arch/um/include/sysdep-i386/ptrace.h index 6670cc992ecb..52b398bcafcf 100644 --- a/arch/um/include/sysdep-i386/ptrace.h +++ b/arch/um/include/sysdep-i386/ptrace.h | |||
@@ -75,7 +75,7 @@ union uml_pt_regs { | |||
75 | #endif | 75 | #endif |
76 | #ifdef UML_CONFIG_MODE_SKAS | 76 | #ifdef UML_CONFIG_MODE_SKAS |
77 | struct skas_regs { | 77 | struct skas_regs { |
78 | unsigned long regs[HOST_FRAME_SIZE]; | 78 | unsigned long regs[MAX_REG_NR]; |
79 | unsigned long fp[HOST_FP_SIZE]; | 79 | unsigned long fp[HOST_FP_SIZE]; |
80 | unsigned long xfp[HOST_XFP_SIZE]; | 80 | unsigned long xfp[HOST_XFP_SIZE]; |
81 | struct faultinfo faultinfo; | 81 | struct faultinfo faultinfo; |
diff --git a/arch/um/include/sysdep-x86_64/ptrace.h b/arch/um/include/sysdep-x86_64/ptrace.h index 617bb9efc934..66cb400c2c92 100644 --- a/arch/um/include/sysdep-x86_64/ptrace.h +++ b/arch/um/include/sysdep-x86_64/ptrace.h | |||
@@ -108,7 +108,7 @@ union uml_pt_regs { | |||
108 | * file size, while i386 uses FRAME_SIZE. Therefore, we need | 108 | * file size, while i386 uses FRAME_SIZE. Therefore, we need |
109 | * to use UM_FRAME_SIZE here instead of HOST_FRAME_SIZE. | 109 | * to use UM_FRAME_SIZE here instead of HOST_FRAME_SIZE. |
110 | */ | 110 | */ |
111 | unsigned long regs[UM_FRAME_SIZE]; | 111 | unsigned long regs[MAX_REG_NR]; |
112 | unsigned long fp[HOST_FP_SIZE]; | 112 | unsigned long fp[HOST_FP_SIZE]; |
113 | struct faultinfo faultinfo; | 113 | struct faultinfo faultinfo; |
114 | long syscall; | 114 | long syscall; |