From c590c7d4d6cda6139b35d87a239810e9e83ebcc3 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 5 Jun 2021 13:32:53 +0000 Subject: this file includes sys/param.h, so does not need to redefine PAGE_MASK --- sys/arch/amd64/stand/libsa/exec_i386.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/amd64') 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) -- cgit v1.2.3