patch-2.4.4 linux/include/asm-ia64/unwind.h
Next file: linux/include/asm-m68k/bootinfo.h
Previous file: linux/include/asm-ia64/ucontext.h
Back to the patch index
Back to the overall index
- Lines: 72
- Date:
Thu Apr 5 12:51:47 2001
- Orig file:
v2.4.3/linux/include/asm-ia64/unwind.h
- Orig date:
Mon Oct 9 17:55:01 2000
diff -u --recursive --new-file v2.4.3/linux/include/asm-ia64/unwind.h linux/include/asm-ia64/unwind.h
@@ -109,22 +109,6 @@
struct switch_stack *sw);
/*
- * Prepare to unwind the current task. For this to work, the kernel
- * stack identified by REGS must look like this:
- *
- * // //
- * | |
- * | kernel stack |
- * | |
- * +=====================+
- * | struct pt_regs |
- * +---------------------+ <--- REGS
- * | struct switch_stack |
- * +---------------------+
- */
-extern void unw_init_from_current (struct unw_frame_info *info, struct pt_regs *regs);
-
-/*
* Prepare to unwind the currently running thread.
*/
extern void unw_init_running (void (*callback)(struct unw_frame_info *info, void *arg), void *arg);
@@ -144,42 +128,42 @@
#define unw_is_intr_frame(info) (((info)->flags & UNW_FLAG_INTERRUPT_FRAME) != 0)
-static inline unsigned long
+static inline int
unw_get_ip (struct unw_frame_info *info, unsigned long *valp)
{
*valp = (info)->ip;
return 0;
}
-static inline unsigned long
+static inline int
unw_get_sp (struct unw_frame_info *info, unsigned long *valp)
{
*valp = (info)->sp;
return 0;
}
-static inline unsigned long
+static inline int
unw_get_psp (struct unw_frame_info *info, unsigned long *valp)
{
*valp = (info)->psp;
return 0;
}
-static inline unsigned long
+static inline int
unw_get_bsp (struct unw_frame_info *info, unsigned long *valp)
{
*valp = (info)->bsp;
return 0;
}
-static inline unsigned long
+static inline int
unw_get_cfm (struct unw_frame_info *info, unsigned long *valp)
{
*valp = *(info)->cfm_loc;
return 0;
}
-static inline unsigned long
+static inline int
unw_set_cfm (struct unw_frame_info *info, unsigned long val)
{
*(info)->cfm_loc = val;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)