summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/include/gdt.h')
-rw-r--r--sys/arch/amd64/include/gdt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/gdt.h b/sys/arch/amd64/include/gdt.h
index a26608a78e8..a9e5a3dd2f3 100644
--- a/sys/arch/amd64/include/gdt.h
+++ b/sys/arch/amd64/include/gdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */
+/* $OpenBSD: gdt.h,v 1.2 2004/05/20 21:06:46 nordin Exp $ */
/* $NetBSD: gdt.h,v 1.1 2003/04/26 18:39:40 fvdl Exp $ */
/*-
@@ -58,5 +58,6 @@ void set_sys_gdt(struct sys_segment_descriptor *, void *, size_t, int, int,
int);
#endif
-#define MINGDTSIZ 2048
+/* MINGDTSIZ must be a multiple of PAGE_SIZE or gdt_grow breaks */
+#define MINGDTSIZ PAGE_SIZE
#define MAXGDTSIZ 65536