summaryrefslogtreecommitdiff
path: root/src/cpu/x86/64bit/entry64.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/64bit/entry64.inc')
-rw-r--r--src/cpu/x86/64bit/entry64.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/x86/64bit/entry64.inc b/src/cpu/x86/64bit/entry64.inc
index 878f310843..52da6037d5 100644
--- a/src/cpu/x86/64bit/entry64.inc
+++ b/src/cpu/x86/64bit/entry64.inc
@@ -11,9 +11,11 @@
#if ENV_X86_64
.code32
+#if CONFIG(PAGE_TABLES_IN_CBFS)
#if (CONFIG_ARCH_X86_64_PGTBL_LOC & 0xfff) > 0
#error pagetables must be 4KiB aligned!
#endif
+#endif
#include <cpu/x86/msr.h>
#if defined(__RAMSTAGE__)