[IA64] MCA/INIT: remove obsolete unwind code

Delete the special case unwind code that was only used by the old
MCA/INIT handler.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Keith Owens and committed by
Tony Luck
49a28cc8 05f335ea

-29
-22
arch/ia64/kernel/unwind.c
··· 2020 2020 } 2021 2021 2022 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 2023 unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) 2046 2024 { 2047 2025 unsigned long sol;
-7
include/asm-ia64/unwind.h
··· 114 114 */ 115 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 117 extern void unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, 125 118 struct switch_stack *sw); 126 119