summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-20 16:44:41 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-20 16:44:41 +0000
commit78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8 (patch)
tree0c9d939aa363baa5fbd07daf4d09c3119f9d113e /sys/alpha
parentc6a218f383ff054f35a5554fa966e7f363b38fd4 (diff)
downloadFreeBSD-src-78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8.zip
FreeBSD-src-78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8.tar.gz
Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename
it to __MINSIGSTKSZ. Define MINSIGSTKSZ in <sys/signal.h>. This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN in <pthread.h> (soon <limits.h>) without having to include the whole <sys/signal.h> header. Discussed with: bde
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/_limits.h6
-rw-r--r--sys/alpha/include/signal.h8
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/include/_limits.h b/sys/alpha/include/_limits.h
index 6e9b567..0ab5874 100644
--- a/sys/alpha/include/_limits.h
+++ b/sys/alpha/include/_limits.h
@@ -87,4 +87,10 @@
#define __LONG_BIT 64
#define __WORD_BIT 32
+/*
+ * Minimum signal stack size. The current signal frame
+ * for Alpha is 808 bytes large.
+ */
+#define __MINSIGSTKSZ (1024 * 4)
+
#endif /* !_MACHINE__LIMITS_H_ */
diff --git a/sys/alpha/include/signal.h b/sys/alpha/include/signal.h
index 7e91ed8..06f6a41 100644
--- a/sys/alpha/include/signal.h
+++ b/sys/alpha/include/signal.h
@@ -36,14 +36,6 @@
typedef long sig_atomic_t;
-#if __XSI_VISIBLE
-/*
- * Minimum signal stack size. The current signal frame
- * for Alpha is 808 bytes large.
- */
-#define MINSIGSTKSZ (1024 * 4)
-#endif
-
/*
* Only the kernel should need these old type definitions.
*/
OpenPOWER on IntegriCloud