summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-14 23:51:05 +0200
committerRichard Braun <rbraun@sceen.net>2013-06-14 23:51:05 +0200
commit93e3290a062f4a393194e1da99c4de405807b24a (patch)
tree4156108dcce5bcace139070213ad5df198733b48
parent6b0a317936a677e5fd925558e6016c35dc69e2fa (diff)
vm/vm_setup: declare vm_setup as an init function
-rw-r--r--vm/vm_setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/vm_setup.c b/vm/vm_setup.c
index 72a7db4b..6d21597c 100644
--- a/vm/vm_setup.c
+++ b/vm/vm_setup.c
@@ -15,6 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <kern/init.h>
#include <kern/kmem.h>
#include <machine/pmap.h>
#include <vm/vm_map.h>
@@ -22,7 +23,7 @@
#include <vm/vm_phys.h>
#include <vm/vm_setup.h>
-void
+void __init
vm_setup(void)
{
vm_kmem_setup();