aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/freebsd32/freebsd32_misc.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2013-05-31 21:43:17 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2013-05-31 21:43:17 +0000
commit1f4e9654bdd8d7f8ecb30db6e2bcf63f110be768 (patch)
treea7655fbb5f8b276403fc3209f6ee060914220291 /sys/compat/freebsd32/freebsd32_misc.c
parent4e3f0e45cfce1cbf66ea20dd8086067d35c70b6b (diff)
downloadsrc-1f4e9654bdd8d7f8ecb30db6e2bcf63f110be768.tar.gz
src-1f4e9654bdd8d7f8ecb30db6e2bcf63f110be768.zip
Add a "kern.features" MIB for 32bit support under a 64bit kernel.
Notes
Notes: svn path=/head/; revision=251198
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_misc.c')
-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 3a266b1bdfa6..dd8d4f742cae 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);