From 4a89d2b07251378ee946a05846e0c7ccf641e62a Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Sat, 9 Feb 2013 19:27:50 +0400 Subject: [PATCH] Fix functions declaration in us_proc_inst and in other files --- driver/us_proc_inst.c | 2 -- driver/us_proc_inst.h | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index 13e9938..81f8984 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -626,8 +626,6 @@ int inst_usr_space_proc (void) #include "../../tools/gpmu/probes/entry_data.h" -extern storage_arg_t sa_dpf; - void do_page_fault_j_pre_code(unsigned long addr, unsigned int fsr, struct pt_regs *regs) { struct task_struct *task = current->group_leader; diff --git a/driver/us_proc_inst.h b/driver/us_proc_inst.h index 66ed252..b134902 100644 --- a/driver/us_proc_inst.h +++ b/driver/us_proc_inst.h @@ -87,4 +87,10 @@ extern unsigned long get_ret_addr(struct task_struct *task, struct us_ip *ip); dump_backtrace(US_PROBE_ID, current, ip->jprobe.kp.addr, regs, size); \ } while (0) +struct dentry *dentry_by_path(const char *path); +int install_otg_ip(unsigned long addr, + kprobe_pre_entry_handler_t pre_handler, + unsigned long jp_handler, + kretprobe_handler_t rp_handler); + #endif /* !defined(__US_PROC_INST_H__) */ -- 2.7.4