Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 01:00:01 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262508 - head/sys/cddl/dev/systrace
Message-ID:  <201402260100.s1Q1018J010622@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Wed Feb 26 01:00:00 2014
New Revision: 262508
URL: http://svnweb.freebsd.org/changeset/base/262508

Log:
  Revert r262466, as it does not compile on PowerPC.
  
  Reported by:	jhibbits

Modified:
  head/sys/cddl/dev/systrace/systrace.c

Modified: head/sys/cddl/dev/systrace/systrace.c
==============================================================================
--- head/sys/cddl/dev/systrace/systrace.c	Wed Feb 26 00:54:59 2014	(r262507)
+++ head/sys/cddl/dev/systrace/systrace.c	Wed Feb 26 01:00:00 2014	(r262508)
@@ -168,9 +168,6 @@ static dtrace_pops_t systrace_pops = {
 static struct cdev		*systrace_cdev;
 static dtrace_provider_id_t	systrace_id;
 
-typedef void (*systrace_dtrace_probe)(dtrace_id_t, uintptr_t, uintptr_t,
-    uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
-
 #if !defined(LINUX_SYSTRACE)
 /*
  * Probe callback function.
@@ -214,8 +211,7 @@ systrace_probe(u_int32_t id, int sysnum,
 	}
 
 	/* Process the probe using the converted argments. */
-	((systrace_dtrace_probe)(dtrace_probe))(id, uargs[0], uargs[1],
-	    uargs[2], uargs[3], uargs[4], uargs[5], uargs[6], uargs[7]);
+	dtrace_probe(id, uargs[0], uargs[1], uargs[2], uargs[3], uargs[4]);
 }
 
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260100.s1Q1018J010622>