diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-24 08:45:18 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-24 08:47:27 -0800 |
commit | 85cf38eafaae6da715699e0209dbc4281b8c7453 (patch) | |
tree | 6bdaa8603ea6a20677c72bd5908b7e74068ee83f /get_load.c | |
parent | 6f106ec95c47e6e36aaa24fa5ebfbfabc4203435 (diff) |
unifdef -Ualliant
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -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; |