Skip to content

Commit

Permalink
[PATCH] uml: size register files correctly
Browse files Browse the repository at this point in the history
We were using the wrong symbol to size register files.

Signed-off-by: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cfd-36 authored and Linus Torvalds committed Dec 7, 2006
1 parent 7b65fee commit e46962f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/um/include/sysdep-i386/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ union uml_pt_regs {
#endif
#ifdef UML_CONFIG_MODE_SKAS
struct skas_regs {
unsigned long regs[HOST_FRAME_SIZE];
unsigned long regs[MAX_REG_NR];
unsigned long fp[HOST_FP_SIZE];
unsigned long xfp[HOST_XFP_SIZE];
struct faultinfo faultinfo;
Expand Down
2 changes: 1 addition & 1 deletion arch/um/include/sysdep-x86_64/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ union uml_pt_regs {
* file size, while i386 uses FRAME_SIZE. Therefore, we need
* to use UM_FRAME_SIZE here instead of HOST_FRAME_SIZE.
*/
unsigned long regs[UM_FRAME_SIZE];
unsigned long regs[MAX_REG_NR];
unsigned long fp[HOST_FP_SIZE];
struct faultinfo faultinfo;
long syscall;
Expand Down

0 comments on commit e46962f

Please sign in to comment.