summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-18 16:41:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-18 16:41:02 +0000
commit37c328dedebb5e2f77b45a45f702d2bb490884ad (patch)
tree034e87abc34851483ff298e50322b4372ca71a63 /sys/arch/hppa64/include
parent5b0ac1ba4a8753cf1e24d0650976e2e242f5880d (diff)
Provide MI symbol _STACKALIGNBYTES
Diffstat (limited to 'sys/arch/hppa64/include')
-rw-r--r--sys/arch/hppa64/include/_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa64/include/_types.h b/sys/arch/hppa64/include/_types.h
index 2827976fa7c..6388a389f82 100644
--- a/sys/arch/hppa64/include/_types.h
+++ b/sys/arch/hppa64/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.15 2013/07/13 17:28:36 deraadt Exp $ */
+/* $OpenBSD: _types.h,v 1.16 2013/12/18 16:41:01 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -51,8 +51,9 @@ typedef struct label_t {
* This does not reflect the optimal alignment, just the possibility
* (within reasonable limits).
*/
-#define _ALIGNBYTES 7
-#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
+#define _ALIGNBYTES 7
+#define _STACKALIGNBYTES _ALIGNBYTES
+#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
#define _ALIGNED_POINTER(p,t) ((((unsigned long)(p)) & (sizeof(t) - 1)) == 0)
typedef unsigned long hppa_hpa_t; /* XXX */