Deleted Added
full compact
hwpmc_mod.c (274766) hwpmc_mod.c (277177)
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

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

25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

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

25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_mod.c 274766 2014-11-20 23:16:19Z emaste $");
33__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_mod.c 277177 2015-01-14 12:46:58Z rrs $");
34
35#include <sys/param.h>
36#include <sys/eventhandler.h>
37#include <sys/jail.h>
38#include <sys/kernel.h>
39#include <sys/kthread.h>
40#include <sys/limits.h>
41#include <sys/lock.h>

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

315 pmc_syscall_handler /* sy_call */
316};
317
318static struct syscall_module_data pmc_syscall_mod = {
319 load,
320 NULL,
321 &pmc_syscall_num,
322 &pmc_sysent,
34
35#include <sys/param.h>
36#include <sys/eventhandler.h>
37#include <sys/jail.h>
38#include <sys/kernel.h>
39#include <sys/kthread.h>
40#include <sys/limits.h>
41#include <sys/lock.h>

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

315 pmc_syscall_handler /* sy_call */
316};
317
318static struct syscall_module_data pmc_syscall_mod = {
319 load,
320 NULL,
321 &pmc_syscall_num,
322 &pmc_sysent,
323#if (__FreeBSD_version >= 1100000)
323 { 0, NULL },
324 SY_THR_STATIC_KLD,
324 { 0, NULL },
325 SY_THR_STATIC_KLD,
326#else
327 { 0, NULL }
328#endif
325};
326
327static moduledata_t pmc_mod = {
328 PMC_MODULE_NAME,
329 syscall_module_handler,
330 &pmc_syscall_mod
331};
332

--- 4781 unchanged lines hidden ---
329};
330
331static moduledata_t pmc_mod = {
332 PMC_MODULE_NAME,
333 syscall_module_handler,
334 &pmc_syscall_mod
335};
336

--- 4781 unchanged lines hidden ---