xref: /freebsd/sys/x86/linux/linux_dummy_x86.c (revision 05416535)
1e9b13c66SConrad Meyer /*-
24d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3e9b13c66SConrad Meyer  *
41ca6b15bSDmitry 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/param.h>
29e9b13c66SConrad Meyer #include <sys/kernel.h>
30e9b13c66SConrad Meyer #include <sys/proc.h>
31496a9a4fSDmitry Chagin #include <sys/sdt.h>
32e9b13c66SConrad Meyer 
33e9b13c66SConrad Meyer #ifdef COMPAT_LINUX32
34e9b13c66SConrad Meyer #include <machine/../linux32/linux.h>
35e9b13c66SConrad Meyer #include <machine/../linux32/linux32_proto.h>
36e9b13c66SConrad Meyer #else
37e9b13c66SConrad Meyer #include <machine/../linux/linux.h>
38e9b13c66SConrad Meyer #include <machine/../linux/linux_proto.h>
39e9b13c66SConrad Meyer #endif
40e9b13c66SConrad Meyer 
41e9b13c66SConrad Meyer #include <compat/linux/linux_dtrace.h>
42e9b13c66SConrad Meyer #include <compat/linux/linux_util.h>
43e9b13c66SConrad Meyer 
44e9b13c66SConrad Meyer /* DTrace init */
45e9b13c66SConrad Meyer LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
46e9b13c66SConrad Meyer 
47e9b13c66SConrad Meyer DUMMY(sysfs);
48e9b13c66SConrad Meyer DUMMY(quotactl);
49e9b13c66SConrad Meyer /* Linux 2.6.13: */
50e9b13c66SConrad Meyer DUMMY(inotify_init);
51e9b13c66SConrad Meyer /* Linux 2.6.22: */
52e9b13c66SConrad Meyer DUMMY(signalfd);
53