summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2013-05-31 21:43:17 +0000
committerobrien <obrien@FreeBSD.org>2013-05-31 21:43:17 +0000
commit0c92a49de40eb4a387f5fe0a42ec9a7e6caaa1f9 (patch)
treea7655fbb5f8b276403fc3209f6ee060914220291 /sys/compat
parenta9aa217d94dc163841af88a9a3840c1459e89ea9 (diff)
downloadFreeBSD-src-0c92a49de40eb4a387f5fe0a42ec9a7e6caaa1f9.zip
FreeBSD-src-0c92a49de40eb4a387f5fe0a42ec9a7e6caaa1f9.tar.gz
Add a "kern.features" MIB for 32bit support under a 64bit kernel.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index 3a266b1..dd8d4f7 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -104,6 +104,8 @@ __FBSDID("$FreeBSD$");
#include <compat/freebsd32/freebsd32_signal.h>
#include <compat/freebsd32/freebsd32_proto.h>
+FEATURE(compat_freebsd_32bit, "Compatible with 32-bit FreeBSD");
+
#ifndef __mips__
CTASSERT(sizeof(struct timeval32) == 8);
CTASSERT(sizeof(struct timespec32) == 8);
OpenPOWER on IntegriCloud