summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--get_load.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/get_load.c b/get_load.c
index 42d0b6c..55fc0e4 100644
--- a/get_load.c
+++ b/get_load.c
@@ -126,7 +126,7 @@ void GetLoadPoint(
#include <sys/param.h>
#endif /* hcx */
-#if defined(UTEK) || defined(alliant)
+#if defined(UTEK)
#define FSCALE 100.0
#endif
@@ -539,10 +539,6 @@ void GetLoadPoint(w, closure, call_data)
#ifndef KERNEL_FILE
-#ifdef alliant
-#define KERNEL_FILE "/vmunix"
-#endif /* alliant */
-
#ifdef hpux
#define KERNEL_FILE "/hp-ux"
#endif /* hpux */
@@ -597,10 +593,6 @@ void GetLoadPoint(w, closure, call_data)
# define KERNEL_LOAD_VARIABLE "_averunnable"
# endif /* BSD >= 199103 */
-# ifdef alliant
-# define KERNEL_LOAD_VARIABLE "_Loadavg"
-# endif /* alliant */
-
# ifdef hpux
# ifdef __hp9000s800
# define KERNEL_LOAD_VARIABLE "avenrun"
@@ -676,13 +668,13 @@ void GetLoadPoint( w, closure, call_data )
(void) lseek(kmem, loadavg_seek, 0);
-#if defined (UTEK) || defined(sequent) || defined(alliant) || defined(SVR4) || defined(sgi) || defined(hcx) || (BSD >= 199103)
+#if defined (UTEK) || defined(sequent) || defined(SVR4) || defined(sgi) || defined(hcx) || (BSD >= 199103)
{
long temp;
(void) read(kmem, (char *)&temp, sizeof(long));
*loadavg = (double)temp/FSCALE;
}
-#else /* else not UTEK or sequent or alliant or SVR4 or sgi or hcx */
+#else /* else not UTEK or sequent or SVR4 or sgi or hcx */
(void) read(kmem, (char *)loadavg, sizeof(double));
#endif /* SVR4 or ... else */
return;