summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-24 08:46:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-24 08:47:33 -0800
commit0e301928d923d5ad875118e23ec6fdb4ae45f5d5 (patch)
treecaad1d3cd6a3c0c4f9880faf04517e3a0d5a458c
parent85cf38eafaae6da715699e0209dbc4281b8c7453 (diff)
unifdef -UUTEK
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--get_load.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/get_load.c b/get_load.c
index 55fc0e4..9b430ca 100644
--- a/get_load.c
+++ b/get_load.c
@@ -126,10 +126,6 @@ void GetLoadPoint(
#include <sys/param.h>
#endif /* hcx */
-#if defined(UTEK)
-#define FSCALE 100.0
-#endif
-
#ifdef sequent
#define FSCALE 1000.0
#endif
@@ -668,13 +664,13 @@ void GetLoadPoint( w, closure, call_data )
(void) lseek(kmem, loadavg_seek, 0);
-#if defined (UTEK) || defined(sequent) || defined(SVR4) || defined(sgi) || defined(hcx) || (BSD >= 199103)
+#if 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 SVR4 or sgi or hcx */
+#else /* else not sequent or SVR4 or sgi or hcx */
(void) read(kmem, (char *)loadavg, sizeof(double));
#endif /* SVR4 or ... else */
return;