summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-12-18 16:41:01 +0000
committerderaadt <deraadt@openbsd.org>2013-12-18 16:41:01 +0000
commit1e370795b169accdad8c14c0318b2efe10d756e7 (patch)
treea07142b93ad3822c758394ce93a465ea0be92995 /sys/arch/sparc
parentRemove artificial limit on the max array index. (diff)
downloadwireguard-openbsd-1e370795b169accdad8c14c0318b2efe10d756e7.tar.xz
wireguard-openbsd-1e370795b169accdad8c14c0318b2efe10d756e7.zip
Provide MI symbol _STACKALIGNBYTES
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/_types.h b/sys/arch/sparc/include/_types.h
index 3c1abf560af..49a858acae4 100644
--- a/sys/arch/sparc/include/_types.h
+++ b/sys/arch/sparc/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.23 2013/07/13 17:28:36 deraadt Exp $ */
+/* $OpenBSD: _types.h,v 1.24 2013/12/18 16:41:01 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -52,8 +52,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)
/* 7.18.1.1 Exact-width integer types */