summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-03-29 21:05:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-03-29 21:05:35 +0000
commit14f7c195d5558d1a077a8b243aaedd0b481c0421 (patch)
tree90aafea48aaf93d73c1204083f163c2f09320861 /sys/arch
parentb95ac20612c590904093ee5f6522cbbddb7e8466 (diff)
Remove unconditional define of _LOCORE.
This was used to get once-protected-by-_LOCORE defines from <machine/frame.h>, but is now completely unnecessary and possibly dangerous. ok claudio@ kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/asm.h5
1 files changed, 1 insertions, 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 <machine/frame.h>
#define _C_LABEL(name) name