diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-12 08:55:23 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2019-08-12 18:53:21 +0200 |
commit | d0d82d24cdfd289d755c87448dbc27c2dd0559ec (patch) | |
tree | 67d6e9304a87c95f29f0d03b502c691f6fa58009 /arch/ia64/kernel | |
parent | ia64: annotate switch fallthroughs in ia64_handle_unaligned (diff) | |
download | linux-d0d82d24cdfd289d755c87448dbc27c2dd0559ec.tar.xz linux-d0d82d24cdfd289d755c87448dbc27c2dd0559ec.zip |
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>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/kprobes.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index 5de801a2c0f0..b8356edbde65 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c @@ -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; |