summaryrefslogtreecommitdiff
path: root/arch/x86/machine/trap.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/trap.h')
-rw-r--r--arch/x86/machine/trap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/machine/trap.h b/arch/x86/machine/trap.h
index 94639c0f..646eda30 100644
--- a/arch/x86/machine/trap.h
+++ b/arch/x86/machine/trap.h
@@ -16,12 +16,15 @@
*
*
* Trap (interrupt and exception) handling.
+ *
+ * This file is a top header in the inclusion hierarchy, and shouldn't include
+ * other headers that may cause circular dependencies.
*/
#ifndef _X86_TRAP_H
#define _X86_TRAP_H
-#include <kern/param.h>
+#include <machine/page.h>
/*
* Architecture defined traps.