xref: /freebsd/sys/x86/linux/linux_dummy_x86.c (revision 1ca6b15bbdcebd6a0726dae2e9b72f383139d16c)
1e9b13c66SConrad Meyer /*-
2e9b13c66SConrad Meyer  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3e9b13c66SConrad Meyer  *
4*1ca6b15bSDmitry Chagin  * Copyright (c) 2013 Dmitry Chagin <dchagin@FreeBSD.org>
5e9b13c66SConrad Meyer  *
6e9b13c66SConrad Meyer  * Redistribution and use in source and binary forms, with or without
7e9b13c66SConrad Meyer  * modification, are permitted provided that the following conditions
8e9b13c66SConrad Meyer  * are met:
9e9b13c66SConrad Meyer  * 1. Redistributions of source code must retain the above copyright
10e9b13c66SConrad Meyer  *    notice, this list of conditions and the following disclaimer.
11e9b13c66SConrad Meyer  * 2. Redistributions in binary form must reproduce the above copyright
12e9b13c66SConrad Meyer  *    notice, this list of conditions and the following disclaimer in the
13e9b13c66SConrad Meyer  *    documentation and/or other materials provided with the distribution.
14e9b13c66SConrad Meyer  *
15e9b13c66SConrad Meyer  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16e9b13c66SConrad Meyer  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17e9b13c66SConrad Meyer  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18e9b13c66SConrad Meyer  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19e9b13c66SConrad Meyer  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20e9b13c66SConrad Meyer  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21e9b13c66SConrad Meyer  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22e9b13c66SConrad Meyer  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23e9b13c66SConrad Meyer  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24e9b13c66SConrad Meyer  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25e9b13c66SConrad Meyer  * SUCH DAMAGE.
26e9b13c66SConrad Meyer  */
27e9b13c66SConrad Meyer 
28e9b13c66SConrad Meyer #include <sys/cdefs.h>
29e9b13c66SConrad Meyer __FBSDID("$FreeBSD$");
30e9b13c66SConrad Meyer 
31e9b13c66SConrad Meyer #include "opt_compat.h"
32e9b13c66SConrad Meyer 
33e9b13c66SConrad Meyer #include <sys/param.h>
34e9b13c66SConrad Meyer #include <sys/kernel.h>
35e9b13c66SConrad Meyer #include <sys/sdt.h>
36e9b13c66SConrad Meyer #include <sys/systm.h>
37e9b13c66SConrad Meyer #include <sys/proc.h>
38e9b13c66SConrad Meyer 
39e9b13c66SConrad Meyer #ifdef COMPAT_LINUX32
40e9b13c66SConrad Meyer #include <machine/../linux32/linux.h>
41e9b13c66SConrad Meyer #include <machine/../linux32/linux32_proto.h>
42e9b13c66SConrad Meyer #else
43e9b13c66SConrad Meyer #include <machine/../linux/linux.h>
44e9b13c66SConrad Meyer #include <machine/../linux/linux_proto.h>
45e9b13c66SConrad Meyer #endif
46e9b13c66SConrad Meyer 
47e9b13c66SConrad Meyer #include <compat/linux/linux_dtrace.h>
48e9b13c66SConrad Meyer #include <compat/linux/linux_util.h>
49e9b13c66SConrad Meyer 
50e9b13c66SConrad Meyer /* DTrace init */
51e9b13c66SConrad Meyer LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
52e9b13c66SConrad Meyer 
53e9b13c66SConrad Meyer DUMMY(sysfs);
54e9b13c66SConrad Meyer DUMMY(quotactl);
55e9b13c66SConrad Meyer /* Linux 2.6.13: */
56e9b13c66SConrad Meyer DUMMY(inotify_init);
57e9b13c66SConrad Meyer /* Linux 2.6.22: */
58e9b13c66SConrad Meyer DUMMY(signalfd);
59