summaryrefslogtreecommitdiffstats
path: root/runtime/unwind
diff options
context:
space:
mode:
authorMartin Hunt <hunt@monkey.(none)>2008-03-26 10:06:19 -0400
committerMartin Hunt <hunt@monkey.(none)>2008-03-26 10:06:19 -0400
commitfd2ef8221625866219d6fc8e99ac36520ac6017b (patch)
tree9b4c4850024f04dd1ba03af250f749eebe8473e1 /runtime/unwind
parent5280c736a9466cd97f56ebb508be2371aacb1d53 (diff)
downloadsystemtap-steved-fd2ef8221625866219d6fc8e99ac36520ac6017b.tar.gz
systemtap-steved-fd2ef8221625866219d6fc8e99ac36520ac6017b.tar.xz
systemtap-steved-fd2ef8221625866219d6fc8e99ac36520ac6017b.zip
i386 fixes.
Diffstat (limited to 'runtime/unwind')
-rw-r--r--runtime/unwind/i386.h12
-rw-r--r--runtime/unwind/x86_64.h5
2 files changed, 1 insertions, 16 deletions
diff --git a/runtime/unwind/i386.h b/runtime/unwind/i386.h
index 1a6b678b..cb2efab7 100644
--- a/runtime/unwind/i386.h
+++ b/runtime/unwind/i386.h
@@ -12,13 +12,6 @@
#ifndef _STP_I386_UNWIND_H
#define _STP_I386_UNWIND_H
-/*
- * Copyright (C) 2002-2006 Novell, Inc.
- * Jan Beulich <jbeulich@novell.com>
- * This code is released under version 2 of the GNU GPL.
- */
-
-
#include <linux/sched.h>
#include <asm/fixmap.h>
#include <asm/ptrace.h>
@@ -73,6 +66,7 @@ static inline void arch_unw_init_frame_info(struct unwind_frame_info *info,
info->regs.esp = (unsigned long)&regs->esp;
info->regs.xss = __KERNEL_DS;
}
+ info->call_frame = 1;
}
static inline void arch_unw_init_blocked(struct unwind_frame_info *info)
@@ -87,10 +81,6 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info)
info->regs.xes = __USER_DS;
}
-extern asmlinkage int arch_unwind_init_running(struct unwind_frame_info *,
- asmlinkage int (*callback)(struct unwind_frame_info *,
- void *arg),
- void *arg);
static inline int arch_unw_user_mode(const struct unwind_frame_info *info)
{
diff --git a/runtime/unwind/x86_64.h b/runtime/unwind/x86_64.h
index 3c4a97be..6e6e521f 100644
--- a/runtime/unwind/x86_64.h
+++ b/runtime/unwind/x86_64.h
@@ -93,11 +93,6 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info)
info->regs.ss = __KERNEL_DS;
}
-extern int arch_unwind_init_running(struct unwind_frame_info *,
- int (*callback)(struct unwind_frame_info *,
- void *arg),
- void *arg);
-
static inline int arch_unw_user_mode(const struct unwind_frame_info *info)
{
#if 0 /* This can only work when selector register saves/restores