diff options
| -rw-r--r-- | arch/ia64/kernel/unwind.c | 22 | ||||
| -rw-r--r-- | include/asm-ia64/unwind.h | 7 |
2 files changed, 0 insertions, 29 deletions
diff --git a/arch/ia64/kernel/unwind.c b/arch/ia64/kernel/unwind.c index 3288be47bc75..93d5a3b41f69 100644 --- a/arch/ia64/kernel/unwind.c +++ b/arch/ia64/kernel/unwind.c | |||
| @@ -2020,28 +2020,6 @@ init_frame_info (struct unw_frame_info *info, struct task_struct *t, | |||
| 2020 | } | 2020 | } |
| 2021 | 2021 | ||
| 2022 | void | 2022 | void |
| 2023 | unw_init_from_interruption (struct unw_frame_info *info, struct task_struct *t, | ||
| 2024 | struct pt_regs *pt, struct switch_stack *sw) | ||
| 2025 | { | ||
| 2026 | unsigned long sof; | ||
| 2027 | |||
| 2028 | init_frame_info(info, t, sw, pt->r12); | ||
| 2029 | info->cfm_loc = &pt->cr_ifs; | ||
| 2030 | info->unat_loc = &pt->ar_unat; | ||
| 2031 | info->pfs_loc = &pt->ar_pfs; | ||
| 2032 | sof = *info->cfm_loc & 0x7f; | ||
| 2033 | info->bsp = (unsigned long) ia64_rse_skip_regs((unsigned long *) info->regstk.top, -sof); | ||
| 2034 | info->ip = pt->cr_iip + ia64_psr(pt)->ri; | ||
| 2035 | info->pt = (unsigned long) pt; | ||
| 2036 | UNW_DPRINT(3, "unwind.%s:\n" | ||
| 2037 | " bsp 0x%lx\n" | ||
| 2038 | " sof 0x%lx\n" | ||
| 2039 | " ip 0x%lx\n", | ||
| 2040 | __FUNCTION__, info->bsp, sof, info->ip); | ||
| 2041 | find_save_locs(info); | ||
| 2042 | } | ||
| 2043 | |||
| 2044 | void | ||
| 2045 | unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) | 2023 | unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) |
| 2046 | { | 2024 | { |
| 2047 | unsigned long sol; | 2025 | unsigned long sol; |
diff --git a/include/asm-ia64/unwind.h b/include/asm-ia64/unwind.h index 61426ad3ecdb..5df0276b0493 100644 --- a/include/asm-ia64/unwind.h +++ b/include/asm-ia64/unwind.h | |||
| @@ -114,13 +114,6 @@ extern void unw_remove_unwind_table (void *handle); | |||
| 114 | */ | 114 | */ |
| 115 | extern void unw_init_from_blocked_task (struct unw_frame_info *info, struct task_struct *t); | 115 | extern void unw_init_from_blocked_task (struct unw_frame_info *info, struct task_struct *t); |
| 116 | 116 | ||
| 117 | /* | ||
| 118 | * Prepare to unwind from interruption. The pt-regs and switch-stack structures must have | ||
| 119 | * be "adjacent" (no state modifications between pt-regs and switch-stack). | ||
| 120 | */ | ||
| 121 | extern void unw_init_from_interruption (struct unw_frame_info *info, struct task_struct *t, | ||
| 122 | struct pt_regs *pt, struct switch_stack *sw); | ||
| 123 | |||
| 124 | extern void unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, | 117 | extern void unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, |
| 125 | struct switch_stack *sw); | 118 | struct switch_stack *sw); |
| 126 | 119 | ||
