summaryrefslogtreecommitdiff
path: root/include/linux/rethook.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rethook.h')
-rw-r--r--include/linux/rethook.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/rethook.h b/include/linux/rethook.h
index c8ac1e5afcd1..26b6f3c81a76 100644
--- a/include/linux/rethook.h
+++ b/include/linux/rethook.h
@@ -14,7 +14,7 @@
struct rethook_node;
-typedef void (*rethook_handler_t) (struct rethook_node *, void *, struct pt_regs *);
+typedef void (*rethook_handler_t) (struct rethook_node *, void *, unsigned long, struct pt_regs *);
/**
* struct rethook - The rethook management data structure.
@@ -59,6 +59,7 @@ struct rethook_node {
};
struct rethook *rethook_alloc(void *data, rethook_handler_t handler);
+void rethook_stop(struct rethook *rh);
void rethook_free(struct rethook *rh);
void rethook_add_node(struct rethook *rh, struct rethook_node *node);
struct rethook_node *rethook_try_get(struct rethook *rh);