diff options
| author | Alexander Leidinger <netchild@FreeBSD.org> | 2006-08-15 12:54:30 +0000 |
|---|---|---|
| committer | Alexander Leidinger <netchild@FreeBSD.org> | 2006-08-15 12:54:30 +0000 |
| commit | 9b44bfc5560bf0cf1da18eaadb3a9da279a76efa (patch) | |
| tree | eefd61a061ceacbae59d210a958f6ea28f9d2b34 /sys/compat/linux/linux_util.c | |
| parent | c107650561e585bb53388c1d73eefc16a60bb6ad (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_util.c')
| -rw-r--r-- | sys/compat/linux/linux_util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 09c51311dc7c..8103c3a90838 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -32,6 +32,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_compat.h" + #include <sys/param.h> #include <sys/bus.h> #include <sys/lock.h> @@ -47,6 +49,11 @@ __FBSDID("$FreeBSD$"); #include <machine/stdarg.h> #include <compat/linux/linux_util.h> +#ifdef COMPAT_LINUX32 +#include <machine/../linux32/linux.h> +#else +#include <machine/../linux/linux.h> +#endif const char linux_emul_path[] = "/compat/linux"; @@ -85,8 +92,6 @@ linux_msg(const struct thread *td, const char *fmt, ...) printf("\n"); } -MALLOC_DECLARE(M_LINUX); - struct device_element { TAILQ_ENTRY(device_element) list; |
