aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
commitaed557087269cd052aa76cc15af4a1fd70cbbf24 (patch)
tree15bbe7ba3ad64d39db33baa0b88a2dae4206568e /sys/kern/subr_trap.c
parent9af80719db341cf3e23d76c62553d77b6ad03568 (diff)
downloadsrc-aed557087269cd052aa76cc15af4a1fd70cbbf24.tar.gz
src-aed557087269cd052aa76cc15af4a1fd70cbbf24.zip
Notes
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index d5c03b712575..efb6a6e270ee 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/mac.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/ktr.h>
@@ -67,6 +66,8 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/pcb.h>
+#include <security/mac/mac_framework.h>
+
/*
* Define the code needed before returning to user mode, for
* trap and syscall.