Date: Thu, 17 Mar 2016 18:55:54 +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: r296990 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace/aarch64 dev/dtrace/amd64 dev/dtrace/arm dev/dtrace/i386 dev/dtrace/mips dev/dtrace/powerpc Message-ID: <201603171855.u2HItsCP020094@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Thu Mar 17 18:55:54 2016 New Revision: 296990 URL: https://svnweb.freebsd.org/changeset/base/296990 Log: Remove unused variables dtrace_in_probe and dtrace_in_probe_addr. Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c head/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c head/sys/cddl/dev/dtrace/arm/dtrace_subr.c head/sys/cddl/dev/dtrace/i386/dtrace_subr.c head/sys/cddl/dev/dtrace/mips/dtrace_subr.c head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Thu Mar 17 18:55:54 2016 (r296990) @@ -246,10 +246,6 @@ static int dtrace_dynvar_failclean; /* #ifndef illumos static struct mtx dtrace_unr_mtx; MTX_SYSINIT(dtrace_unr_mtx, &dtrace_unr_mtx, "Unique resource identifier", MTX_DEF); -int dtrace_in_probe; /* non-zero if executing a probe */ -#if defined(__i386__) || defined(__amd64__) || defined(__mips__) || defined(__powerpc__) -uintptr_t dtrace_in_probe_addr; /* Address of invop when already in probe */ -#endif static eventhandler_tag dtrace_kld_load_tag; static eventhandler_tag dtrace_kld_unload_try_tag; #endif Modified: head/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$"); #include <machine/trap.h> #include <vm/pmap.h> -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; extern dtrace_id_t dtrace_probeid_error; extern int (*dtrace_invop_jump_addr)(struct trapframe *); extern void dtrace_getnanotime(struct timespec *tsp); Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -44,9 +44,6 @@ #include <machine/frame.h> #include <vm/pmap.h> -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; - extern void dtrace_getnanotime(struct timespec *tsp); int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t); Modified: head/sys/cddl/dev/dtrace/arm/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/arm/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/arm/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -51,8 +51,6 @@ __FBSDID("$FreeBSD$"); #define BIT_LR 14 #define BIT_SP 13 -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; extern dtrace_id_t dtrace_probeid_error; extern int (*dtrace_invop_jump_addr)(struct trapframe *); extern void dtrace_getnanotime(struct timespec *tsp); Modified: head/sys/cddl/dev/dtrace/i386/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -46,8 +46,6 @@ #include <vm/pmap.h> extern uintptr_t kernelbase; -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; extern void dtrace_getnanotime(struct timespec *tsp); Modified: head/sys/cddl/dev/dtrace/mips/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/mips/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/mips/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$"); #define DELAYBRANCH(x) ((int)(x) < 0) -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; extern dtrace_id_t dtrace_probeid_error; int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t); Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c Thu Mar 17 18:49:37 2016 (r296989) +++ head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c Thu Mar 17 18:55:54 2016 (r296990) @@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$"); #define DELAYBRANCH(x) ((int)(x) < 0) -extern uintptr_t dtrace_in_probe_addr; -extern int dtrace_in_probe; extern dtrace_id_t dtrace_probeid_error; extern int (*dtrace_invop_jump_addr)(struct trapframe *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603171855.u2HItsCP020094>