summaryrefslogtreecommitdiffstats
path: root/sys/compat/linprocfs
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-01-29 18:41:30 +0000
committerjhb <jhb@FreeBSD.org>2013-01-29 18:41:30 +0000
commit2617d9f095bb1dfa934ef021a7237482304fcdb9 (patch)
tree5dd2d56667d33c443b367a39778b39489a36e09c /sys/compat/linprocfs
parentc007da37d332cc74b36ba78883813ce297764683 (diff)
downloadFreeBSD-src-2617d9f095bb1dfa934ef021a7237482304fcdb9.zip
FreeBSD-src-2617d9f095bb1dfa934ef021a7237482304fcdb9.tar.gz
Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h
by moving bits that are MI out into headers in compat/linux. Reviewed by: Chagin Dmitry dmitry | gmail MFC after: 2 weeks
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r--sys/compat/linprocfs/linprocfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 31cda7d..d86da04 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -101,13 +101,9 @@ __FBSDID("$FreeBSD$");
#include <compat/freebsd32/freebsd32_util.h>
#endif
-#ifdef COMPAT_LINUX32 /* XXX */
-#include <machine/../linux32/linux.h>
-#else
-#include <machine/../linux/linux.h>
-#endif
#include <compat/linux/linux_ioctl.h>
#include <compat/linux/linux_mib.h>
+#include <compat/linux/linux_misc.h>
#include <compat/linux/linux_util.h>
#include <fs/pseudofs/pseudofs.h>
#include <fs/procfs/procfs.h>
OpenPOWER on IntegriCloud