Deleted Added
sdiff udiff text old ( 179237 ) new ( 184698 )
full compact
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 4 unchanged lines hidden (view full) ---

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 *
21 * $FreeBSD: head/sys/cddl/dev/dtrace/dtrace_load.c 179237 2008-05-23 05:59:42Z jb $
22 *
23 */
24
25static void
26dtrace_ap_start(void *dummy)
27{
28 int i;
29

--- 119 unchanged lines hidden (view full) ---

149
150 mutex_enter(&cpu_lock);
151
152 /* Setup the boot CPU */
153 (void) dtrace_cpu_setup(CPU_CONFIG, 0);
154
155 mutex_exit(&cpu_lock);
156
157 /* Enable device cloning. */
158 clone_setup(&dtrace_clones);
159
160 /* Setup device cloning events. */
161 eh_tag = EVENTHANDLER_REGISTER(dev_clone, dtrace_clone, 0, 1000);
162
163 return;
164}