From 85cf38eafaae6da715699e0209dbc4281b8c7453 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 24 Feb 2013 08:45:18 -0800 Subject: unifdef -Ualliant Signed-off-by: Alan Coopersmith --- get_load.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'get_load.c') 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 #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; -- cgit v1.2.3