Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 arch/x86/stack-frame.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/arch/x86/stack-frame.c b/arch/x86/stack-frame.c
index 1e660fd..4eba71f 100644
--- a/arch/x86/stack-frame.c
+++ b/arch/x86/stack-frame.c
@@ -59,11 +59,8 @@
  *     |   Local m    :
  *     +--------------+
  */
-#ifdef CONFIG_X86_32
-#define ARGS_START_OFFSET (sizeof(unsigned long) * 5)
-#else
-#define ARGS_START_OFFSET (sizeof(unsigned long) * 7)
-#endif
+
+#define ARGS_START_OFFSET offsetof(struct jit_stack_frame, args)
 
 static unsigned long __index_to_offset(unsigned long index)
 {
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to