summaryrefslogtreecommitdiff
path: root/parallel/glunix/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/glunix/patches/patch-ak')
-rw-r--r--parallel/glunix/patches/patch-ak26
1 files changed, 19 insertions, 7 deletions
diff --git a/parallel/glunix/patches/patch-ak b/parallel/glunix/patches/patch-ak
index 5e21f5d447d..a632a3d650e 100644
--- a/parallel/glunix/patches/patch-ak
+++ b/parallel/glunix/patches/patch-ak
@@ -1,22 +1,34 @@
-$NetBSD: patch-ak,v 1.1.1.1 1998/10/21 19:59:30 garbled Exp $
+$NetBSD: patch-ak,v 1.2 2005/05/29 14:38:33 wiz Exp $
---- glunix/src/idle/didle_sysinfo.h~ Thu Sep 21 16:57:04 1995
-+++ glunix/src/idle/didle_sysinfo.h Fri Feb 27 06:33:45 1998
-@@ -96,2 +96,4 @@
+--- glunix/src/idle/didle_sysinfo.h.orig 1995-09-22 01:57:04.000000000 +0200
++++ glunix/src/idle/didle_sysinfo.h
+@@ -94,6 +94,8 @@
+
+ #define PROCFS "/proc"
+#ifndef __NetBSD__
+
#define X_AVENRUN 0
-@@ -108,2 +110,3 @@
+ #define X_MPID 1
+ #define X_CPU 2
+@@ -106,6 +108,7 @@
+ #define X_SWAPFS_MINFREE 9
+ #define X_NCPUS 10
#define X_VMINFO 11
+#endif
-@@ -118,2 +121,3 @@
+ #define TOTAL 0
+ #define SEQUENTIAL 1
+@@ -116,10 +119,11 @@
+ * Thus we'll get a coredump when going through array. The
+ * following is a size rounded up to 8.
*/
+#ifndef __NetBSD__
#define PRPSINFOSIZE (((sizeof(struct prpsinfo) + 7) / 8) * 8)
-@@ -121,3 +125,3 @@
+
#define PAGE_SIZE 4096 /* operating system page size */
-
+#endif
#define NUM_CPUSTATES 5
+
+ /*****************************************************************************/