From 2e87171712a35b10e625473d8440a6af906429bd Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 21 Sep 2006 21:18:23 +0000 Subject: [PATCH] update probe git-svn-id: http://ltt.polymtl.ca/svn@2132 04897980-b3bd-0310-b5e0-8ef037075253 --- tests/kernel/probe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kernel/probe.c b/tests/kernel/probe.c index 96d9ff4d..58154b2d 100644 --- a/tests/kernel/probe.c +++ b/tests/kernel/probe.c @@ -13,20 +13,20 @@ #include /* function to install */ -void do_mark1(const char *format, int value) +asmlinkage void do_mark1(const char *format, int value) { printk("value is %d\n", value); } int init_module(void) { - return marker_set_probe("subsys_mark1", (marker_probe)do_mark1, + return marker_set_probe("subsys_mark1", (marker_probe_func*)do_mark1, MARKER_CALL); } void cleanup_module(void) { - marker_disable_probe("subsys_mark1", (marker_probe)do_mark1, + marker_disable_probe("subsys_mark1", (marker_probe_func*)do_mark1, MARKER_CALL); } -- 2.34.1