aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/critical.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/critical.c b/sys/amd64/amd64/critical.c
index 063c7a30437f..925a91ca2865 100644
--- a/sys/amd64/amd64/critical.c
+++ b/sys/amd64/amd64/critical.c
@@ -31,10 +31,14 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
+
#include <machine/critical.h>
+#include <machine/psl.h>
/*
* cpu_critical_fork_exit() - cleanup after fork
+ *
+ * Enable interrupts in the saved copy of eflags.
*/
void
cpu_critical_fork_exit(void)