From fd5e99ca4d0aafd5ba64680fce8ac3b6ff51ab83 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 29 Mar 2024 21:05:34 +0000 Subject: [PATCH] Remove unconditional define of _LOCORE. This was used to get once-protected-by-_LOCORE defines from , but is now completely unnecessary and possibly dangerous. ok claudio@ kettenis@ --- sys/arch/sparc64/include/asm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arch/sparc64/include/asm.h b/sys/arch/sparc64/include/asm.h index 1a3a1b46868..eca02526793 100644 --- a/sys/arch/sparc64/include/asm.h +++ b/sys/arch/sparc64/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.18 2023/01/13 17:53:30 miod Exp $ */ +/* $OpenBSD: asm.h,v 1.19 2024/03/29 21:05:34 miod Exp $ */ /* $NetBSD: asm.h,v 1.15 2000/08/02 22:24:39 eeh Exp $ */ /* @@ -42,9 +42,6 @@ #define _MACHINE_ASM_H_ /* Pull in CC64FSZ and BIAS from frame.h */ -#ifndef _LOCORE -#define _LOCORE -#endif #include #define _C_LABEL(name) name -- 2.20.1