mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
ia64/kprobes: remove the unused ia64_get_bsp_cfm function
Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lkml.kernel.org/r/20190812065524.19959-4-hch@lst.de Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
94707d90b7
commit
d0d82d24cd
@ -979,32 +979,6 @@ int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
|
||||
return ret;
|
||||
}
|
||||
|
||||
struct param_bsp_cfm {
|
||||
unsigned long ip;
|
||||
unsigned long *bsp;
|
||||
unsigned long cfm;
|
||||
};
|
||||
|
||||
static void ia64_get_bsp_cfm(struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
unsigned long ip;
|
||||
struct param_bsp_cfm *lp = arg;
|
||||
|
||||
do {
|
||||
unw_get_ip(info, &ip);
|
||||
if (ip == 0)
|
||||
break;
|
||||
if (ip == lp->ip) {
|
||||
unw_get_bsp(info, (unsigned long*)&lp->bsp);
|
||||
unw_get_cfm(info, (unsigned long*)&lp->cfm);
|
||||
return;
|
||||
}
|
||||
} while (unw_unwind(info) >= 0);
|
||||
lp->bsp = NULL;
|
||||
lp->cfm = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned long arch_deref_entry_point(void *entry)
|
||||
{
|
||||
return ((struct fnptr *)entry)->ip;
|
||||
|
Loading…
x
Reference in New Issue
Block a user