summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-06-05 13:32:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-06-05 13:32:53 +0000
commitc590c7d4d6cda6139b35d87a239810e9e83ebcc3 (patch)
treede2b4ac821883907cba7e912aadad14d1c29e8d6
parent45a71d0f49539bb694d90ace993872d77d9bad69 (diff)
this file includes sys/param.h, so does not need to redefine PAGE_MASK
-rw-r--r--sys/arch/amd64/stand/libsa/exec_i386.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/libsa/exec_i386.c b/sys/arch/amd64/stand/libsa/exec_i386.c
index be4a3396a88..6f66392ffe0 100644
--- a/sys/arch/amd64/stand/libsa/exec_i386.c
+++ b/sys/arch/amd64/stand/libsa/exec_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_i386.c,v 1.33 2021/03/11 11:16:55 jsg Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.34 2021/06/05 13:32:52 deraadt Exp $ */
/*
* Copyright (c) 1997-1998 Michael Shalayeff
@@ -74,7 +74,6 @@ extern char end[], _start[];
caddr_t pt_base_addr;
-#define PAGE_MASK (PAGE_SIZE - 1)
#define LONG_KERN_PML4_ADDR1 0x1000
#define LONG_KERN_PML4_ADDR2 (((uint64_t)(end) + PAGE_MASK) & ~PAGE_MASK)