Author: bapt
Date: Wed Aug 19 15:18:32 2015
New Revision: 286924
URL: https://svnweb.freebsd.org/changeset/base/286924

Log:
  Add a kern.features.cloudabi64 entry when the module is loaded to helps the
  userland to be able to test is cloudabi64 is supported or not
  
  Reviewed by:  ed
  Differential Revision:        https://reviews.freebsd.org/D3430

Modified:
  head/sys/amd64/cloudabi64/cloudabi64_sysvec.c

Modified: head/sys/amd64/cloudabi64/cloudabi64_sysvec.c
==============================================================================
--- head/sys/amd64/cloudabi64/cloudabi64_sysvec.c       Wed Aug 19 13:23:07 
2015        (r286923)
+++ head/sys/amd64/cloudabi64/cloudabi64_sysvec.c       Wed Aug 19 15:18:32 
2015        (r286924)
@@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 #include <sys/proc.h>
 #include <sys/smp.h>
+#include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/systm.h>
 
@@ -272,3 +273,4 @@ static moduledata_t cloudabi64_module = 
 
 DECLARE_MODULE_TIED(cloudabi64, cloudabi64_module, SI_SUB_EXEC, SI_ORDER_ANY);
 MODULE_DEPEND(cloudabi64, cloudabi, 1, 1, 1);
+FEATURE(cloudabi64, "CloudABI 64bit support");
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to