* [uml-devel] [PATCH 3/4] UML - Size register files correctly
@ 2006-12-04 23:12 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-12-04 23:12 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel
We were using the wrong symbol to size register files.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.18-mm/arch/um/include/sysdep-i386/ptrace.h
===================================================================
--- linux-2.6.18-mm.orig/arch/um/include/sysdep-i386/ptrace.h 2006-11-27 18:55:15.000000000 -0500
+++ linux-2.6.18-mm/arch/um/include/sysdep-i386/ptrace.h 2006-11-29 04:39:05.000000000 -0500
@@ -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;
Index: linux-2.6.18-mm/arch/um/include/sysdep-x86_64/ptrace.h
===================================================================
--- linux-2.6.18-mm.orig/arch/um/include/sysdep-x86_64/ptrace.h 2006-11-27 18:55:15.000000000 -0500
+++ linux-2.6.18-mm/arch/um/include/sysdep-x86_64/ptrace.h 2006-11-29 04:38:13.000000000 -0500
@@ -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;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-04 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04 23:12 [uml-devel] [PATCH 3/4] UML - Size register files correctly Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox